summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qdeclarativecirclemapitem.cpp
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-06-17 12:29:21 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-06-17 12:29:21 +0200
commit058427e68159fb286c465da32cb696f757ea2b52 (patch)
treefe8efd84d270b8b1a884f3da042400808fbd5b9f /src/location/declarativemaps/qdeclarativecirclemapitem.cpp
parent0e64148b39ab7e7417d9d115ddc53631167989b1 (diff)
parent2e02797471e55684a71979f330a4f507e86e5bcc (diff)
downloadqtlocation-058427e68159fb286c465da32cb696f757ea2b52.tar.gz
Merge remote-tracking branch 'origin/5.12.4' into 5.12
Change-Id: I0e61ba5697177a8daf8808023ac0207b70f8571d
Diffstat (limited to 'src/location/declarativemaps/qdeclarativecirclemapitem.cpp')
-rw-r--r--src/location/declarativemaps/qdeclarativecirclemapitem.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/location/declarativemaps/qdeclarativecirclemapitem.cpp b/src/location/declarativemaps/qdeclarativecirclemapitem.cpp
index 2727cc26..b3496816 100644
--- a/src/location/declarativemaps/qdeclarativecirclemapitem.cpp
+++ b/src/location/declarativemaps/qdeclarativecirclemapitem.cpp
@@ -327,6 +327,7 @@ QDeclarativeCircleMapItem::QDeclarativeCircleMapItem(QQuickItem *parent)
: QDeclarativeGeoMapItemBase(parent), border_(this), color_(Qt::transparent), dirtyMaterial_(true),
updatingGeometry_(false)
{
+ m_itemType = QGeoMap::MapCircle;
setFlag(ItemHasContents, true);
QObject::connect(&border_, SIGNAL(colorChanged(QColor)),
this, SLOT(markSourceDirtyAndUpdate()));
@@ -624,11 +625,6 @@ void QDeclarativeCircleMapItem::setGeoShape(const QGeoShape &shape)
emit radiusChanged(circle_.radius());
}
-QGeoMap::ItemType QDeclarativeCircleMapItem::itemType() const
-{
- return QGeoMap::MapCircle;
-}
-
/*!
\internal
*/