diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-08-31 23:34:17 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-09-06 11:48:47 -0700 |
commit | 8e2d3254a2c3ff129af6047ada659de1976b387e (patch) | |
tree | 5b2136ad8f6ecd8f91432eb805df5ced4fc10049 | |
parent | 773604f0dfdbf3be8a3fcb3e78abfa889805bf07 (diff) | |
download | subsurface-8e2d3254a2c3ff129af6047ada659de1976b387e.tar.gz |
Cleanup: remove Q_INVOKABLE from MapLocationModel::setSelected()
The function does not appear to be called from QML anymore.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r-- | qt-models/maplocationmodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<dive_site *> &divesites); MapLocation *getMapLocation(const struct dive_site *ds); const QVector<dive_site *> &selectedDs() const; - Q_INVOKABLE void setSelected(struct dive_site *ds); + void setSelected(struct dive_site *ds); protected: QHash<int, QByteArray> roleNames() const override; |