diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-03-08 21:18:31 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-03-11 11:40:12 -0700 |
commit | 2317fed9b6d4139fe648c2203ace37559016db46 (patch) | |
tree | 7466b2e1525a7971f914f35621ce00717350f008 /core/subsurface-qt/DiveObjectHelper.h | |
parent | eac7c4bdaeb9726ac23d37b8819395034fbd8dfe (diff) | |
download | subsurface-2317fed9b6d4139fe648c2203ace37559016db46.tar.gz |
DiveObjectHelper: add dive_site_uuid()
The map widget on the mobile version requires that
a dive object from a model has a dive_site uuid.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.h')
-rw-r--r-- | core/subsurface-qt/DiveObjectHelper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.h b/core/subsurface-qt/DiveObjectHelper.h index 766c20fa5..b4b7e2668 100644 --- a/core/subsurface-qt/DiveObjectHelper.h +++ b/core/subsurface-qt/DiveObjectHelper.h @@ -20,6 +20,7 @@ class DiveObjectHelper : public QObject { Q_PROPERTY(QString location READ location CONSTANT) Q_PROPERTY(QString gps READ gps CONSTANT) Q_PROPERTY(QString gps_decimal READ gps_decimal CONSTANT) + Q_PROPERTY(QVariant dive_site_uuid READ dive_site_uuid CONSTANT) Q_PROPERTY(QString duration READ duration CONSTANT) Q_PROPERTY(bool noDive READ noDive CONSTANT) Q_PROPERTY(QString depth READ depth CONSTANT) @@ -60,6 +61,7 @@ public: QString location() const; QString gps() const; QString gps_decimal() const; + QVariant dive_site_uuid() const; QString duration() const; bool noDive() const; QString depth() const; |