summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-16 10:54:05 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-16 10:54:05 +0200
commit47abd8b28343ef350d1d54eafd0356b7f7c4891a (patch)
tree8c53a592100441a824333a670038026279739f55
parentMerge commit 'refs/merge-requests/96' of git://gitorious.org/rekonq/mainline ... (diff)
parentCheck for null pointer, causes crashes on some pages. (diff)
downloadrekonq-47abd8b28343ef350d1d54eafd0356b7f7c4891a.tar.xz
Merge commit 'refs/merge-requests/97' of git://gitorious.org/rekonq/mainline into m97
-rw-r--r--src/networkaccessmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp
index e1d2e6eb..4aa2488a 100644
--- a/src/networkaccessmanager.cpp
+++ b/src/networkaccessmanager.cpp
@@ -97,7 +97,7 @@ QNetworkReply *NetworkAccessManager::createRequest(QNetworkAccessManager::Operat
if(!reply)
reply = AccessManager::createRequest(op, req, outgoingData);
- if(parentPage->hasNetworkAnalyzerEnabled())
+ if(parentPage && parentPage->hasNetworkAnalyzerEnabled())
emit networkData( op, req, reply );
return reply;