diff options
author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-06-17 12:29:21 +0200 |
---|---|---|
committer | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-06-17 12:29:21 +0200 |
commit | 058427e68159fb286c465da32cb696f757ea2b52 (patch) | |
tree | fe8efd84d270b8b1a884f3da042400808fbd5b9f /src/location/declarativemaps/qdeclarativepolylinemapitem.cpp | |
parent | 0e64148b39ab7e7417d9d115ddc53631167989b1 (diff) | |
parent | 2e02797471e55684a71979f330a4f507e86e5bcc (diff) | |
download | qtlocation-058427e68159fb286c465da32cb696f757ea2b52.tar.gz |
Merge remote-tracking branch 'origin/5.12.4' into 5.12
Change-Id: I0e61ba5697177a8daf8808023ac0207b70f8571d
Diffstat (limited to 'src/location/declarativemaps/qdeclarativepolylinemapitem.cpp')
-rw-r--r-- | src/location/declarativemaps/qdeclarativepolylinemapitem.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/location/declarativemaps/qdeclarativepolylinemapitem.cpp b/src/location/declarativemaps/qdeclarativepolylinemapitem.cpp index 2fb3098d..189e8273 100644 --- a/src/location/declarativemaps/qdeclarativepolylinemapitem.cpp +++ b/src/location/declarativemaps/qdeclarativepolylinemapitem.cpp @@ -738,6 +738,7 @@ bool QGeoMapPolylineGeometry::contains(const QPointF &point) const QDeclarativePolylineMapItem::QDeclarativePolylineMapItem(QQuickItem *parent) : QDeclarativeGeoMapItemBase(parent), line_(this), dirtyMaterial_(true), updatingGeometry_(false) { + m_itemType = QGeoMap::MapPolyline; setFlag(ItemHasContents, true); QObject::connect(&line_, SIGNAL(colorChanged(QColor)), this, SLOT(updateAfterLinePropertiesChanged())); @@ -1149,11 +1150,6 @@ void QDeclarativePolylineMapItem::setGeoShape(const QGeoShape &shape) emit pathChanged(); } -QGeoMap::ItemType QDeclarativePolylineMapItem::itemType() const -{ - return QGeoMap::MapPolyline; -} - ////////////////////////////////////////////////////////////////////// /*! |