summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-02-10 12:13:20 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-02-12 13:30:50 +0000
commit7fbda52ba8e09a6156c9d1b6f7fc8369d38ee200 (patch)
treeef4abd8bc2b029a9f33630a14ac93dd5c087f860
parentb75dbd9558c1922ce33d1f62d75c2c5dfa173edb (diff)
Make QGeoMap::createMapObjectImplementation virtual
Needed, for example, to emit an sgNodeChanged or similar upon addition of a new map object, *after* the pimpl has been properly injected. Change-Id: I1442e54aad94c465b0b7b17f1ed92f4900ca1d29 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
-rw-r--r--src/location/maps/qgeomap_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/maps/qgeomap_p.h b/src/location/maps/qgeomap_p.h
index b2382099..835a946a 100644
--- a/src/location/maps/qgeomap_p.h
+++ b/src/location/maps/qgeomap_p.h
@@ -137,7 +137,7 @@ public:
void removeMapItem(QDeclarativeGeoMapItemBase *item);
void clearMapItems();
- bool createMapObjectImplementation(QGeoMapObject *obj);
+ virtual bool createMapObjectImplementation(QGeoMapObject *obj);
QList<QGeoMapObject *> mapObjects() const;