summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp3
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
{