diff options
author | Abdurrahman AVCI <abdurrahmanavci@gmail.com> | 2010-05-14 11:26:16 +0300 |
---|---|---|
committer | Abdurrahman AVCI <abdurrahmanavci@gmail.com> | 2010-05-14 11:26:16 +0300 |
commit | e6267567fff7c0a7db3937844f9643007d155a0d (patch) | |
tree | 45a95d09ba6df4b6acb346db66a6f7938fcc419f | |
parent | Merge branch 'FixBlocks' (diff) | |
download | rekonq-e6267567fff7c0a7db3937844f9643007d155a0d.tar.xz |
Check for null pointer, causes crashes on some pages.
-rw-r--r-- | src/networkaccessmanager.cpp | 2 |
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; |