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:40:40 +0200 |
commit | b9194f51651a9924742ad1d5e79f9dd9b9f7505e (patch) | |
tree | f8c3353b341dc6e6fe282f31dcc273f409db46f5 /src | |
parent | Fix my previous commit (diff) | |
download | rekonq-b9194f51651a9924742ad1d5e79f9dd9b9f7505e.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
Diffstat (limited to 'src')
-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 d770b3d1..39b2af60 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(); } |