diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-04-25 01:25:29 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-04-25 01:25:29 +0200 |
commit | 9059f60ea19df8ee85d4bb55c8583d85e059ab29 (patch) | |
tree | 45de1d0922f325859eea947524ef8fe73d1c0065 | |
parent | Clean up url management (diff) | |
download | rekonq-9059f60ea19df8ee85d4bb55c8583d85e059ab29.tar.xz |
Fix a regression from previous commit
(crashbar exiting on external calls)
-rw-r--r-- | src/application.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/application.cpp b/src/application.cpp index 27a6490c..ef6c2085 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -310,17 +310,17 @@ int Application::newInstance() } } - if (isRekonqCrashed) - { - QTimer::singleShot(1000, mainWindow()->currentTab(), SLOT(showMessageBar())); - } - else - { - sessionManager()->setSessionManagementEnabled(true); - } - if (isFirstLoad) { + if (isRekonqCrashed) + { + QTimer::singleShot(1000, mainWindow()->currentTab(), SLOT(showMessageBar())); + } + else + { + sessionManager()->setSessionManagementEnabled(true); + } + if (ReKonfig::checkDefaultSearchEngine() && !isRekonqCrashed && SearchEngine::defaultEngine().isNull()) QTimer::singleShot(2000, mainWindow()->currentTab(), SLOT(showSearchEngineBar())); |