summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2017-11-15 09:09:41 +0100
committerLiang Qi <liang.qi@qt.io>2017-11-15 09:09:41 +0100
commitafc51951769ac7320a98a973bcb95a12bc970019 (patch)
treef248c33d4a98b2baa047cf8453dd91d6e6545cc8 /src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
parent5804d34e3b311dc814c7897894ef7a6b960f0f40 (diff)
parent8c42dba3910c0bec3134f57bd5fa466df72d7ba7 (diff)
downloadqtlocation-afc51951769ac7320a98a973bcb95a12bc970019.tar.gz
Merge remote-tracking branch 'origin/5.9' into 5.10
Change-Id: Id7d47d95c8dc6a696b79812573e50c572593123e
Diffstat (limited to 'src/location/declarativemaps/qdeclarativepolygonmapitem.cpp')
-rw-r--r--src/location/declarativemaps/qdeclarativepolygonmapitem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp b/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
index b481c64e..7460a376 100644
--- a/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
+++ b/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
@@ -374,6 +374,7 @@ void QDeclarativePolygonMapItem::setMap(QDeclarativeGeoMap *quickMap, QGeoMap *m
This property holds the ordered list of coordinates which
define the polygon.
+ Having less than 3 different coordinates in the path results in undefined behavior.
\sa addCoordinate, removeCoordinate
*/