summaryrefslogtreecommitdiff
path: root/src/analyzer/networkanalyzer.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-02-25 00:57:32 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-02-25 00:57:32 +0100
commit68266369148c30e1888d67472178b2e0442135df (patch)
tree01315eff4ce95f07b1922634c4255f403855a75e /src/analyzer/networkanalyzer.cpp
parentcppcheck round... (diff)
downloadrekonq-68266369148c30e1888d67472178b2e0442135df.tar.xz
Fix crash on some sites loading with Network Analyzer open
BUG:258947
Diffstat (limited to 'src/analyzer/networkanalyzer.cpp')
-rw-r--r--src/analyzer/networkanalyzer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/analyzer/networkanalyzer.cpp b/src/analyzer/networkanalyzer.cpp
index 3101dae5..8c271727 100644
--- a/src/analyzer/networkanalyzer.cpp
+++ b/src/analyzer/networkanalyzer.cpp
@@ -163,6 +163,11 @@ void NetworkAnalyzer::requestFinished(QObject *replyObject)
}
QTreeWidgetItem *item = _itemMap[reply];
+ if(!item)
+ {
+ kDebug() << "No Item mapped. Returning...";
+ return;
+ }
// Record the reply headers
QList<QByteArray> headerValues;