diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/application.cpp | 2 | ||||
-rw-r--r-- | src/webtab.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/application.cpp b/src/application.cpp index d8044e24..1bf7b556 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -205,7 +205,7 @@ int Application::newInstance() if (isRekonqCrashed && isFirstLoad) { loadUrl(KUrl("about:closedTabs"), Rekonq::NewWindow); - mainWindow()->currentTab()->showMessageBar(); + QTimer::singleShot(1000, mainWindow()->currentTab(), SLOT(showMessageBar())); } if (areThereArguments) diff --git a/src/webtab.h b/src/webtab.h index ccbd7a83..b875e4fe 100644 --- a/src/webtab.h +++ b/src/webtab.h @@ -93,7 +93,6 @@ public: void setPart(KParts::ReadOnlyPart *p, const KUrl &u); - void showMessageBar(); private Q_SLOTS: void updateProgress(int progress); @@ -103,6 +102,8 @@ private Q_SLOTS: void showRSSInfo(const QPoint &pos); void showSearchEngine(const QPoint &pos); void openSearchEngineAdded(); + + void showMessageBar(); Q_SIGNALS: void loadProgressing(); |