diff options
Diffstat (limited to 'src/location/declarativemaps/qdeclarativegeomapitembase_p.h')
-rw-r--r-- | src/location/declarativemaps/qdeclarativegeomapitembase_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeomapitembase_p.h b/src/location/declarativemaps/qdeclarativegeomapitembase_p.h index 4eff32db..23fd1da6 100644 --- a/src/location/declarativemaps/qdeclarativegeomapitembase_p.h +++ b/src/location/declarativemaps/qdeclarativegeomapitembase_p.h @@ -99,7 +99,7 @@ public: QSGNode *updatePaintNode(QSGNode *, UpdatePaintNodeData *); virtual QSGNode *updateMapItemPaintNode(QSGNode *, UpdatePaintNodeData *); - virtual QGeoMap::ItemType itemType() const = 0; + QGeoMap::ItemType itemType() const; qreal mapItemOpacity() const; void setParentGroup(QDeclarativeGeoMapItemGroup &parentGroup); @@ -119,6 +119,8 @@ protected: bool childMouseEventFilter(QQuickItem *item, QEvent *event); bool isPolishScheduled() const; + QGeoMap::ItemType m_itemType = QGeoMap::NoItem; + private Q_SLOTS: void baseCameraDataChanged(const QGeoCameraData &camera); void visibleAreaChanged(); |