summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainwindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index e27c75fe..9686c1ac 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -900,7 +900,10 @@ void MainWindow::notifyMessage(const QString &msg, Rekonq::Notify status)
// deleting popus if empty msgs
if(msg.isEmpty())
{
- m_popup->deleteLater();
+ if(m_popup)
+ {
+ m_popup->deleteLater();
+ }
return;
}