summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/osm/qgeocodereplyosm.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/qgeocodereplyosm.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/qgeocodereplyosm.cpp')
-rw-r--r--src/plugins/geoservices/osm/qgeocodereplyosm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/geoservices/osm/qgeocodereplyosm.cpp b/src/plugins/geoservices/osm/qgeocodereplyosm.cpp
index b1335a70..4354fba7 100644
--- a/src/plugins/geoservices/osm/qgeocodereplyosm.cpp
+++ b/src/plugins/geoservices/osm/qgeocodereplyosm.cpp
@@ -180,7 +180,7 @@ void QGeoCodeReplyOsm::networkReplyFinished()
QGeoLocation location;
location.setCoordinate(coordinate);
- location.setBoundingBox(rectangle);
+ location.setBoundingShape(rectangle);
location.setAddress(parseAddressObject(object));
if (m_includeExtraData)
injectExtra(location, object);