diff options
author | Liang Qi <liang.qi@qt.io> | 2017-10-26 12:22:00 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2017-10-26 12:22:38 +0200 |
commit | d340bf2be1738f3d47bc455ea122aef9a9e1c11d (patch) | |
tree | 34d060b00cf14924d50c6419e9678804d9f62e58 /src/location/declarativemaps | |
parent | 66a6e238876cc1201c5fe331c165ceba458dc56a (diff) | |
parent | 592c381564e3f12b79a3d5e9fec5aec2b8045742 (diff) | |
download | qtlocation-d340bf2be1738f3d47bc455ea122aef9a9e1c11d.tar.gz |
Merge remote-tracking branch 'origin/5.9' into 5.10v5.10.0-beta3
Conflicts:
.qmake.conf
Change-Id: I9a3d7ec0bb203ac8b5bd483af3973510ca33c4a9
Diffstat (limited to 'src/location/declarativemaps')
-rw-r--r-- | src/location/declarativemaps/qdeclarativepolygonmapitem.cpp | 4 | ||||
-rw-r--r-- | src/location/declarativemaps/qquickgeomapgesturearea.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp b/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp index 48f66423..b481c64e 100644 --- a/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp +++ b/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp @@ -286,10 +286,10 @@ void QGeoMapPolygonGeometry::updateScreenPoints(const QGeoMap &map) if (e.isMoveTo() || i == ppi.elementCount() - 1 || (qAbs(e.x - poly.front()[0]) < 0.1 && qAbs(e.y - poly.front()[1]) < 0.1)) { - Point p = { e.x, e.y }; + Point p = {{ e.x, e.y }}; poly.push_back( p ); } else if (e.isLineTo()) { - Point p = { e.x, e.y }; + Point p = {{ e.x, e.y }}; poly.push_back( p ); } else { qWarning("Unhandled element type in polygon painterpath"); diff --git a/src/location/declarativemaps/qquickgeomapgesturearea.cpp b/src/location/declarativemaps/qquickgeomapgesturearea.cpp index fc2debc3..d62ae8cf 100644 --- a/src/location/declarativemaps/qquickgeomapgesturearea.cpp +++ b/src/location/declarativemaps/qquickgeomapgesturearea.cpp @@ -551,7 +551,7 @@ QQuickGeoMapGestureArea::~QQuickGeoMapGestureArea() \qmlproperty enumeration QtLocation::MapGestureArea::acceptedGestures This property holds the gestures that will be active. By default - the zoom, pan and flick gestures are enabled. + all gestures are enabled. \list \li MapGestureArea.NoGesture - Don't support any additional gestures (value: 0x0000). |