summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-25 19:23:09 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-25 19:23:09 +0100
commitbdcbe016568d7466551661cdbaecedfb43dcbb59 (patch)
tree0b8be9438ed6e423549f3afce88e124cf499dfbf
parentOn the road of fixing BUG 227947 (diff)
downloadrekonq-bdcbe016568d7466551661cdbaecedfb43dcbb59.tar.xz
to be really sure about.. Q_ASSERT it!
-rw-r--r--src/webpage.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 9371d7bf..f1591cee 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -69,6 +69,7 @@
#include <QtGui/QMouseEvent>
#include <QtGui/QClipboard>
#include <QtGui/QKeyEvent>
+#include <QWebFrame>
WebPage::WebPage(QWidget *parent)
@@ -208,6 +209,8 @@ void WebPage::loadFinished(bool)
void WebPage::manageNetworkErrors(QNetworkReply *reply)
{
+ Q_ASSERT(reply);
+
WebView *v = 0;
// NOTE