diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-12-06 20:47:12 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-12-11 00:15:05 +0000 |
commit | 1ac9abf01cf60e817a830f877fe91ef3403a7d3f (patch) | |
tree | 566c8b005c88d769479e34c0bd529537d8f2cb38 | |
parent | 30425c98757118985b91d1230101f13effeac54a (diff) | |
download | qtlocation-1ac9abf01cf60e817a830f877fe91ef3403a7d3f.tar.gz |
Fix comparison for QGeoPolygon: check holes
Change-Id: Ie817aebbb5fe52638cf26c4e583bb1ad08b71adf
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r-- | src/positioning/qgeopath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/positioning/qgeopath.cpp b/src/positioning/qgeopath.cpp index 0c3d0c1c..31bff2f7 100644 --- a/src/positioning/qgeopath.cpp +++ b/src/positioning/qgeopath.cpp @@ -432,7 +432,7 @@ bool QGeoPathPrivate::operator==(const QGeoShapePrivate &other) const if (type == QGeoShape::PathType) return m_width == otherPath.m_width && m_path == otherPath.m_path; else - return m_path == otherPath.m_path; + return m_path == otherPath.m_path && m_holesList == otherPath.m_holesList; } bool QGeoPathPrivate::isValid() const |