diff options
Diffstat (limited to 'src/location/declarativemaps/qdeclarativegeomapquickitem.cpp')
-rw-r--r-- | src/location/declarativemaps/qdeclarativegeomapquickitem.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeomapquickitem.cpp b/src/location/declarativemaps/qdeclarativegeomapquickitem.cpp index 5f9ecc8a..f7409788 100644 --- a/src/location/declarativemaps/qdeclarativegeomapquickitem.cpp +++ b/src/location/declarativemaps/qdeclarativegeomapquickitem.cpp @@ -135,6 +135,7 @@ QDeclarativeGeoMapQuickItem::QDeclarativeGeoMapQuickItem(QQuickItem *parent) : QDeclarativeGeoMapItemBase(parent), zoomLevel_(0.0), mapAndSourceItemSet_(false), updatingGeometry_(false), matrix_(nullptr) { + m_itemType = QGeoMap::MapQuickItem; setFlag(ItemHasContents, true); opacityContainer_ = new QQuickItem(this); opacityContainer_->setParentItem(this); @@ -362,11 +363,6 @@ void QDeclarativeGeoMapQuickItem::setGeoShape(const QGeoShape &shape) } -QGeoMap::ItemType QDeclarativeGeoMapQuickItem::itemType() const -{ - return QGeoMap::MapQuickItem; -} - /*! \internal */ |