summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAbdurrahman AVCI <abdurrahmanavci@gmail.com>2010-05-14 11:26:16 +0300
committerAbdurrahman AVCI <abdurrahmanavci@gmail.com>2010-05-14 11:26:16 +0300
commite6267567fff7c0a7db3937844f9643007d155a0d (patch)
tree45a95d09ba6df4b6acb346db66a6f7938fcc419f /src
parentMerge branch 'FixBlocks' (diff)
downloadrekonq-e6267567fff7c0a7db3937844f9643007d155a0d.tar.xz
Check for null pointer, causes crashes on some pages.
Diffstat (limited to 'src')
-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;