From 4d4764a9f0b14110e82f51d2b7013d9f610fe7c3 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 6 Aug 2009 11:45:26 +0200 Subject: Fixed "QCoreApplication::postEvent: Unexpected null receiver" warning --- src/mainwindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.1