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>
This commit is contained in:
Berthold Stoeger 2019-08-31 23:34:17 +02:00 committed by Dirk Hohndel
parent 773604f0df
commit 8e2d3254a2

View file

@ -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;