From 9133b9a5cb7889e28d0ec7d14e0599fdff471241 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 11 Aug 2010 01:37:46 +0200 Subject: Delaying single shots to let rekonq have more time to show itself before... It seems working pretty well here. Ready to revert if something seems wrong about this --- src/application.cpp | 3 ++- src/mainwindow.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/application.cpp b/src/application.cpp index 71693a7a..8a24014d 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -224,7 +224,8 @@ int Application::newInstance() if(isFirstLoad) { - QTimer::singleShot(0, this, SLOT(postLaunch())); + // give me some time to do the other things.. + QTimer::singleShot(100, this, SLOT(postLaunch())); } return exitValue; diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 5d0d1d0c..cbef274a 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -152,7 +152,8 @@ MainWindow::MainWindow() // no more status bar.. setStatusBar(0); - QTimer::singleShot(0, this, SLOT(postLaunch())); + // give me some time to do all the other stuffs... + QTimer::singleShot(100, this, SLOT(postLaunch())); kDebug() << "MainWindow ctor...DONE"; } -- cgit v1.2.1