summaryrefslogtreecommitdiff
path: root/src/positioningquick/qquickgeocoordinateanimation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/positioningquick/qquickgeocoordinateanimation.cpp')
-rw-r--r--src/positioningquick/qquickgeocoordinateanimation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/positioningquick/qquickgeocoordinateanimation.cpp b/src/positioningquick/qquickgeocoordinateanimation.cpp
index a678c340..b5d1286c 100644
--- a/src/positioningquick/qquickgeocoordinateanimation.cpp
+++ b/src/positioningquick/qquickgeocoordinateanimation.cpp
@@ -121,7 +121,7 @@ QVariant q_coordinateShortestInterpolator(const QGeoCoordinate &from, const QGeo
return QVariant::fromValue(result);
}
-QVariant q_coordinateWestInterpolator(const QGeoCoordinate &from, const QGeoCoordinate &to, qreal progress)
+QVariant q_coordinateEastInterpolator(const QGeoCoordinate &from, const QGeoCoordinate &to, qreal progress)
{
const QGeoMercatorCoordinatePrivate* fromMercator =
static_cast<const QGeoMercatorCoordinatePrivate*>(QGeoCoordinatePrivate::get(&from));
@@ -151,7 +151,7 @@ QVariant q_coordinateWestInterpolator(const QGeoCoordinate &from, const QGeoCoor
return QVariant::fromValue(result);
}
-QVariant q_coordinateEastInterpolator(const QGeoCoordinate &from, const QGeoCoordinate &to, qreal progress)
+QVariant q_coordinateWestInterpolator(const QGeoCoordinate &from, const QGeoCoordinate &to, qreal progress)
{
const QGeoMercatorCoordinatePrivate* fromMercator =
static_cast<const QGeoMercatorCoordinatePrivate*>(QGeoCoordinatePrivate::get(&from));