summaryrefslogtreecommitdiff
path: root/src/location/labs/qmappolylineobject.cpp
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2021-11-09 19:07:35 +0100
committerLauri Laanmets <lauri.laanmets@eesti.ee>2022-02-28 17:11:45 +0200
commitc63154ae7525b4ee45d324f5c72c78f4885f16cc (patch)
treeb3e6e3ced3db271688b20a08165ac5b2755ebf3b /src/location/labs/qmappolylineobject.cpp
parente40cd29cff975a5d564de87e1a6f0c7341bcdbd5 (diff)
downloadqtlocation-c63154ae7525b4ee45d324f5c72c78f4885f16cc.tar.gz
Fix warnings for Windows build
Task-number: QTBUG-96795 Change-Id: Ia5fe6f24f06f18141923d9466d7b2d7651fd464b Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/location/labs/qmappolylineobject.cpp')
-rw-r--r--src/location/labs/qmappolylineobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/labs/qmappolylineobject.cpp b/src/location/labs/qmappolylineobject.cpp
index b2927694..4170877d 100644
--- a/src/location/labs/qmappolylineobject.cpp
+++ b/src/location/labs/qmappolylineobject.cpp
@@ -139,7 +139,7 @@ QGeoShape QMapPolylineObjectPrivate::geoShape() const
void QMapPolylineObjectPrivate::setGeoShape(const QGeoShape &shape)
{
const QGeoPath p(shape);
- if (p == path())
+ if (p.path() == path())
return;
setPath(p.path()); // to handle overrides