diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-02-15 17:41:56 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-02-15 17:41:56 +0100 |
commit | 932aeffab0f1185bd288e1d27795b346069b7d39 (patch) | |
tree | ab2b0f9718bc5345eeed1a5a81344eb385cee927 /src | |
parent | Restores Bookmarks menu (in 2.x fashion) (diff) | |
download | rekonq-932aeffab0f1185bd288e1d27795b346069b7d39.tar.xz |
Get sure tabWindow && webwindow exist before calling them
BUG: 315165
Diffstat (limited to 'src')
-rw-r--r-- | src/application.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp index 19f5b756..0c96d986 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -312,7 +312,8 @@ int Application::newInstance() { if (hasToBeRecoveredFromCrash && !incognito) { - QTimer::singleShot(1000, tabWindow()->currentWebWindow(), SLOT(showCrashMessageBar())); + if (tabWindow() && tabWindow()->currentWebWindow()) + QTimer::singleShot(1000, tabWindow()->currentWebWindow(), SLOT(showCrashMessageBar())); } else { |