From 8e2d3254a2c3ff129af6047ada659de1976b387e Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 31 Aug 2019 23:34:17 +0200 Subject: [PATCH] Cleanup: remove Q_INVOKABLE from MapLocationModel::setSelected() The function does not appear to be called from QML anymore. Signed-off-by: Berthold Stoeger --- qt-models/maplocationmodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-models/maplocationmodel.h b/qt-models/maplocationmodel.h index ddf0a4a11..23b30cb8d 100644 --- a/qt-models/maplocationmodel.h +++ b/qt-models/maplocationmodel.h @@ -68,7 +68,7 @@ public: void setSelected(const QVector &divesites); MapLocation *getMapLocation(const struct dive_site *ds); const QVector &selectedDs() const; - Q_INVOKABLE void setSelected(struct dive_site *ds); + void setSelected(struct dive_site *ds); protected: QHash roleNames() const override;