From e1bd91da7a5c4980a4d6a1e29e51a828644508e8 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 8 Nov 2011 23:54:37 +0100 Subject: Remove mainWindow pointer from mainview class. --- src/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainwindow.cpp') 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(); -- cgit v1.2.1