diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-04-16 11:24:19 +0200 |
---|---|---|
committer | Jędrzej Nowacki <jedrzej.nowacki@qt.io> | 2018-04-17 06:48:30 +0000 |
commit | ed272aade6e1734892cc25aa354394502069dc6f (patch) | |
tree | 0c63241b97f315eaa8bb55f97ff526f0df70f2a3 /src/location/declarativemaps | |
parent | b21c33a3278260df469175a3ce08447b7a3dc47c (diff) | |
download | qtlocation-ed272aade6e1734892cc25aa354394502069dc6f.tar.gz |
API Fix: remove QGeoCoordinate <-> QGeoCoordinateObject
This was some code needed for supporting something that eventually did
not get in.
So we can as well remove it altogether from the API.
Change-Id: Ibbfc50fb950c316308ce1d666e39da33527faa9e
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/declarativemaps')
-rw-r--r-- | src/location/declarativemaps/qdeclarativegeoroutemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp b/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp index 10d8eb7f..0f0bb253 100644 --- a/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp +++ b/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp @@ -1669,7 +1669,7 @@ void QDeclarativeGeoRouteQuery::doCoordinateChanged() static QGeoCoordinate convertWaypointToCoordinate(const QDeclarativeGeoWaypoint *value) { - return QGeoCoordinate(value); + return value->coordinate(); } struct WaypointVariantConversions |