diff options
author | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-05-07 09:46:14 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-05-11 13:41:41 +0000 |
commit | acac988b654ef169115af14c06840e6387cde04f (patch) | |
tree | 53ef3ba93a4d8c72748d70b54cef985211e0d660 /src | |
parent | 8275c4c933d0de20f1e784d5d5aeb78a8d20d80c (diff) | |
download | qtlocation-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.cpp | 1 |
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) { |