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-14 05:52:20 +0100
commite1bd91da7a5c4980a4d6a1e29e51a828644508e8 (patch)
treee5a66fd7c277a16d9c59ec2e08fc5b482eabd35f /src/mainwindow.cpp
parentRemove postLaunch calls (diff)
downloadrekonq-e1bd91da7a5c4980a4d6a1e29e51a828644508e8.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 5e2412f0..e59aede7 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();