summaryrefslogtreecommitdiff
path: root/src/imports/location/qdeclarativepolygonmapitem.cpp
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@jollamobile.com>2014-02-18 17:32:47 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-26 11:45:39 +0100
commit2344d27189c9c1eadb34411ad3ff795b11a38b52 (patch)
treefe719730a7a4971f8b858f466d7e48a2a5170a4f /src/imports/location/qdeclarativepolygonmapitem.cpp
parent65263d2b59e189044af4f3715248fe1d34e3b9e8 (diff)
downloadqtlocation-2344d27189c9c1eadb34411ad3ff795b11a38b52.tar.gz
Map item geometry do not need to be QObjects.
Change-Id: I078c9eb57ad5a2aa70fde8900ec46958aa1882e1 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/imports/location/qdeclarativepolygonmapitem.cpp')
-rw-r--r--src/imports/location/qdeclarativepolygonmapitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/location/qdeclarativepolygonmapitem.cpp b/src/imports/location/qdeclarativepolygonmapitem.cpp
index 1bd7fd10..48346abf 100644
--- a/src/imports/location/qdeclarativepolygonmapitem.cpp
+++ b/src/imports/location/qdeclarativepolygonmapitem.cpp
@@ -145,8 +145,8 @@ struct Vertex
QVector2D position;
};
-QGeoMapPolygonGeometry::QGeoMapPolygonGeometry(QObject *parent) :
- QGeoMapItemGeometry(parent), assumeSimple_(false)
+QGeoMapPolygonGeometry::QGeoMapPolygonGeometry()
+: assumeSimple_(false)
{
}