diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-02-25 00:57:32 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-02-25 00:57:32 +0100 |
commit | 68266369148c30e1888d67472178b2e0442135df (patch) | |
tree | 01315eff4ce95f07b1922634c4255f403855a75e | |
parent | cppcheck round... (diff) | |
download | rekonq-68266369148c30e1888d67472178b2e0442135df.tar.xz |
Fix crash on some sites loading with Network Analyzer open
BUG:258947
-rw-r--r-- | src/analyzer/networkanalyzer.cpp | 5 |
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; |