summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/osm/qplacesearchreplyosm.cpp
diff options
context:
space:
mode:
authorLauri Laanmets <lauri.laanmets@eesti.ee>2021-09-30 15:20:52 +0300
committerIvan Solovev <ivan.solovev@qt.io>2021-11-09 10:28:51 +0100
commitdd4211eac29aa4152d434e5960f9ba869070cb88 (patch)
tree2c4e3b93249e2c81f53fcea1383a95e5dce5b1c7 /src/plugins/geoservices/osm/qplacesearchreplyosm.cpp
parent6ae370ac2e2a894f5181df9d5b027896812afaa5 (diff)
downloadqtlocation-dd4211eac29aa4152d434e5960f9ba869070cb88.tar.gz
Change 'setBoundingBox' to 'setBoundingShape'
https://doc.qt.io/qt-6/qtpositioning-changes-qt6.html#c This is part of a bigger work to port QtLocation maps to Qt6. Task-number: QTBUG-96795 Change-Id: I9c14bd39d2da95a0be6542be432b79e26906c5ed Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
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 593f476a..3e696685 100644
--- a/src/plugins/geoservices/osm/qplacesearchreplyosm.cpp
+++ b/src/plugins/geoservices/osm/qplacesearchreplyosm.cpp
@@ -220,7 +220,7 @@ QPlaceResult QPlaceSearchReplyOsm::parsePlaceResult(const QJsonObject &item) con
QGeoLocation location;
location.setCoordinate(coordinate);
location.setAddress(address);
- location.setBoundingBox(parseBoundingBox(item.value(QStringLiteral("boundingbox")).toArray()));
+ location.setBoundingShape(parseBoundingBox(item.value(QStringLiteral("boundingbox")).toArray()));
place.setLocation(location);