diff options
Diffstat (limited to 'qt-models/maplocationmodel.h')
-rw-r--r-- | qt-models/maplocationmodel.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qt-models/maplocationmodel.h b/qt-models/maplocationmodel.h index 33a22366f..70f247f33 100644 --- a/qt-models/maplocationmodel.h +++ b/qt-models/maplocationmodel.h @@ -65,8 +65,7 @@ public: void clear(); MapLocation *getMapLocation(const struct dive_site *ds); void updateMapLocationCoordinates(const struct dive_site *ds, QGeoCoordinate coord); - void setSelected(struct dive_site *ds, bool fromClick = true); - Q_INVOKABLE void setSelected(QVariant divesite, QVariant fromClick = true); + Q_INVOKABLE void setSelected(struct dive_site *ds, bool fromClick = true); QVariant selectedDs(); protected: |