summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/declarativemaps')
-rw-r--r--src/location/declarativemaps/qdeclarativepolygonmapitem.cpp4
-rw-r--r--src/location/declarativemaps/qquickgeomapgesturearea.cpp2
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).