diff options
author | Lauri Laanmets <lauri.laanmets@eesti.ee> | 2021-09-30 15:20:52 +0300 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2021-11-09 10:28:51 +0100 |
commit | dd4211eac29aa4152d434e5960f9ba869070cb88 (patch) | |
tree | 2c4e3b93249e2c81f53fcea1383a95e5dce5b1c7 /src/plugins/geoservices/nokia/placesv2/qplacesearchreplyhere.cpp | |
parent | 6ae370ac2e2a894f5181df9d5b027896812afaa5 (diff) |
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/nokia/placesv2/qplacesearchreplyhere.cpp')
-rw-r--r-- | src/plugins/geoservices/nokia/placesv2/qplacesearchreplyhere.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/geoservices/nokia/placesv2/qplacesearchreplyhere.cpp b/src/plugins/geoservices/nokia/placesv2/qplacesearchreplyhere.cpp index ce5c2ac6..993cadb7 100644 --- a/src/plugins/geoservices/nokia/placesv2/qplacesearchreplyhere.cpp +++ b/src/plugins/geoservices/nokia/placesv2/qplacesearchreplyhere.cpp @@ -163,7 +163,7 @@ QPlaceResult QPlaceSearchReplyHere::parsePlaceResult(const QJsonObject &item) co QJsonArray bbox = item.value(QStringLiteral("bbox")).toArray(); QGeoRectangle box(QGeoCoordinate(bbox.at(3).toDouble(), bbox.at(0).toDouble()), QGeoCoordinate(bbox.at(1).toDouble(), bbox.at(2).toDouble())); - location.setBoundingBox(box); + location.setBoundingShape(box); } place.setLocation(location); |