summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/osm/qplacesearchreplyosm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/geoservices/osm/qplacesearchreplyosm.cpp')
-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 80c50d1b..3535830d 100644
--- a/src/plugins/geoservices/osm/qplacesearchreplyosm.cpp
+++ b/src/plugins/geoservices/osm/qplacesearchreplyosm.cpp
@@ -184,7 +184,7 @@ QPlaceResult QPlaceSearchReplyOsm::parsePlaceResult(const QJsonObject &item) con
//double importance = item.value(QStringLiteral("importance")).toDouble();
place.setAttribution(item.value(QStringLiteral("licence")).toString());
- place.setPlaceId(item.value(QStringLiteral("place_id")).toString());
+ place.setPlaceId(QString::number(item.value(QStringLiteral("place_id")).toInt()));
QVariantMap iconParameters;
iconParameters.insert(QPlaceIcon::SingleUrl,