summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/osm
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2017-02-27 14:21:31 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-02-27 13:28:00 +0000
commit7692448da626e803a05344e6ef31ecac9cc5b460 (patch)
treeea2670df20f0a12726bdfb39f09d9f4f335e6527 /src/plugins/geoservices/osm
parentfa70b1669420ae37a1da639cbd2fdeae0c3d5b76 (diff)
downloadqtlocation-7692448da626e803a05344e6ef31ecac9cc5b460.tar.gz
Fix incorrect method invocation in QPlaceSearchReplyOsm
A previous change removed the QPlaceReply:: prefix on setError, now causing to recursively call itself endlessly. This patch reverts the change. Change-Id: Iacf704760c970fab44490897ca1192b817814b83 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/plugins/geoservices/osm')
-rw-r--r--src/plugins/geoservices/osm/qplacesearchreplyosm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/geoservices/osm/qplacesearchreplyosm.cpp b/src/plugins/geoservices/osm/qplacesearchreplyosm.cpp
index 35b05d4d..cdb696dd 100644
--- a/src/plugins/geoservices/osm/qplacesearchreplyosm.cpp
+++ b/src/plugins/geoservices/osm/qplacesearchreplyosm.cpp
@@ -74,7 +74,7 @@ QPlaceSearchReplyOsm::~QPlaceSearchReplyOsm()
void QPlaceSearchReplyOsm::setError(QPlaceReply::Error errorCode, const QString &errorString)
{
- setError(errorCode, errorString);
+ QPlaceReply::setError(errorCode, errorString);
emit error(errorCode, errorString);
setFinished(true);
emit finished();