diff options
author | Yoann Laissus <yoann.laissus@gmail.com> | 2011-10-19 20:40:40 +0200 |
---|---|---|
committer | Yoann Laissus <yoann.laissus@gmail.com> | 2011-10-19 20:46:23 +0200 |
commit | 2380b2b4bedb6892adddaa502177daaadf9aa89b (patch) | |
tree | 18553f10ec769e9b66c7a4ffb9fe821da2629b20 | |
parent | load webkit settings tooltips (diff) | |
download | rekonq-2380b2b4bedb6892adddaa502177daaadf9aa89b.tar.xz |
Fix the recover on crash bar which is too big to fit on the screen when rekonq is maximised.
It needs to be initialized a bit later..
REVIEW: 102868
-rw-r--r-- | src/application.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp index e1802099..41921aa5 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -178,7 +178,6 @@ int Application::newInstance() if (isRekonqCrashed && isFirstLoad) { loadUrl(KUrl("about:closedTabs"), Rekonq::NewWindow); - mainWindow()->currentTab()->showMessageBar(); } if (areThereArguments) @@ -294,6 +293,10 @@ void Application::postLaunch() instance(), SLOT(loadUrl(const KUrl&, const Rekonq::OpenType&))); // crash recovering + if (ReKonfig::recoverOnCrash()) + { + mainWindow()->currentTab()->showMessageBar(); + } ReKonfig::setRecoverOnCrash(ReKonfig::recoverOnCrash() + 1); saveConfiguration(); } |