diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-08-31 23:55:53 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-09-06 11:48:47 -0700 |
commit | 15f418e04656e01bc55ebbd80686c74b9727339d (patch) | |
tree | 3818e90baa133e064b0d98fbfc4870fd48769cff /qt-models/maplocationmodel.h | |
parent | 406e83ac3004dc0f63b3f2e81d91067276248277 (diff) | |
download | subsurface-15f418e04656e01bc55ebbd80686c74b9727339d.tar.gz |
Cleanup: remove Q_PROPERTIEs from MapLocation
We never dish out an object of this type to QML. It is unclear how
Q_PROPERTIEs could be of any use.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/maplocationmodel.h')
-rw-r--r-- | qt-models/maplocationmodel.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/qt-models/maplocationmodel.h b/qt-models/maplocationmodel.h index a89695ccd..4f56a146f 100644 --- a/qt-models/maplocationmodel.h +++ b/qt-models/maplocationmodel.h @@ -13,9 +13,6 @@ class MapLocation : public QObject { Q_OBJECT - Q_PROPERTY(QVariant divesite READ divesiteVariant) - Q_PROPERTY(QGeoCoordinate coordinate READ coordinate WRITE setCoordinate NOTIFY coordinateChanged) - Q_PROPERTY(QString name MEMBER m_name) public: explicit MapLocation(); @@ -25,7 +22,6 @@ public: QGeoCoordinate coordinate(); void setCoordinate(QGeoCoordinate coord); void setCoordinateNoEmit(QGeoCoordinate coord); - QVariant divesiteVariant(); struct dive_site *divesite(); enum Roles { |