summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-29 11:16:39 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-29 11:16:39 +0200
commite3d3973995e3d4afeb5fe4e70dacfa632ce48fc5 (patch)
tree89a4e51bb4e4e2497ec0e370f2179af80f58616a /src
parentFaster MainWindow loading.. (diff)
downloadrekonq-e3d3973995e3d4afeb5fe4e70dacfa632ce48fc5.tar.xz
Other optimizations on MainWindow loading
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index b45a63b6..59196975 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -116,9 +116,6 @@ MainWindow::MainWindow()
// toolbar position, icon size, etc.
setupGUI();
- // setup history menu: this has to be done AFTER setupGUI!!
- setupHistoryMenu();
-
QTimer::singleShot(0, this, SLOT(postLaunch()));
}
@@ -131,6 +128,9 @@ MainWindow::~MainWindow()
void MainWindow::postLaunch()
{
+ // setup history menu: this has to be done AFTER setupGUI!!
+ setupHistoryMenu();
+
// --------- connect signals and slots
connect(m_view, SIGNAL(setCurrentTitle(const QString &)), this, SLOT(slotUpdateWindowTitle(const QString &)));
connect(m_view, SIGNAL(loadProgress(int)), this, SLOT(slotLoadProgress(int)));