summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@theqtcompany.com>2015-05-07 09:46:14 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-05-11 13:41:41 +0000
commitacac988b654ef169115af14c06840e6387cde04f (patch)
tree53ef3ba93a4d8c72748d70b54cef985211e0d660 /src
parent8275c4c933d0de20f1e784d5d5aeb78a8d20d80c (diff)
downloadqtlocation-acac988b654ef169115af14c06840e6387cde04f.tar.gz
Fix QDeclarativeSearchResultModel error processing.
When QPlaceReply has an error do not process the reply futher. Change-Id: I373f1f2a25601516bf1cd022283ef1c5b06f8497 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/imports/location/declarativeplaces/qdeclarativesearchresultmodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/location/declarativeplaces/qdeclarativesearchresultmodel.cpp b/src/imports/location/declarativeplaces/qdeclarativesearchresultmodel.cpp
index 96abf871..d0020d67 100644
--- a/src/imports/location/declarativeplaces/qdeclarativesearchresultmodel.cpp
+++ b/src/imports/location/declarativeplaces/qdeclarativesearchresultmodel.cpp
@@ -737,6 +737,7 @@ void QDeclarativeSearchResultModel::queryFinished()
updateLayout();
setStatus(Error, reply->errorString());
reply->deleteLater();
+ return;
}
if (reply->type() == QPlaceReply::SearchReply) {