summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-11-08 23:54:37 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-11-18 15:42:47 +0100
commit43e3512afd7ef973026528a0444e04a85877eee5 (patch)
treebc0086da02b2fe7bef9d27154a0e6e5ca4e05d38 /src/mainwindow.cpp
parentRemove postLaunch calls (diff)
downloadrekonq-43e3512afd7ef973026528a0444e04a85877eee5.tar.xz
Remove mainWindow pointer from mainview class.
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index bce5b54a..01e10c82 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -144,8 +144,8 @@ MainWindow::MainWindow()
// then, setup our actions
setupActions();
- // BEFORE setupGUI!!
- m_view->addNewTabButton();
+ // BEFORE setupGUI, AFTER setupActions!!
+ m_view->addNewTabButton(actionByName("new_tab"));
// setting Panels
setupPanels();