summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-06 11:45:26 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-06 11:45:26 +0200
commit4d4764a9f0b14110e82f51d2b7013d9f610fe7c3 (patch)
treebfbb43df63df7e73568fabf6eb19d5501193173d /src
parentrekonq 0.1.97 with last fixes about AccessManager and cookies (diff)
downloadrekonq-4d4764a9f0b14110e82f51d2b7013d9f610fe7c3.tar.xz
Fixed "QCoreApplication::postEvent: Unexpected null receiver"
warning
Diffstat (limited to 'src')
-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;
}