diff options
author | jan Iversen <jani@libreoffice.org> | 2018-06-08 09:53:04 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-06-09 17:16:53 +0200 |
commit | 99eff8e247f329b8e1e3b0452a90427f75adcb9d (patch) | |
tree | 3c2c088448b2c51de19aff1aa1b3f3682011e2f9 | |
parent | e993d4f005e62c12765e2e45342ecf840476e3bf (diff) | |
download | subsurface-99eff8e247f329b8e1e3b0452a90427f75adcb9d.tar.gz |
mobile: clean use of DiveId in qmlprofile
Remove unused signal and simplify qml access to
m_diveId
Signed-off-by: Jan Iversen <jani@apache.org>
-rw-r--r-- | mobile-widgets/qmlprofile.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mobile-widgets/qmlprofile.h b/mobile-widgets/qmlprofile.h index bc5e127fc..9dcdb6598 100644 --- a/mobile-widgets/qmlprofile.h +++ b/mobile-widgets/qmlprofile.h @@ -8,7 +8,7 @@ class QMLProfile : public QQuickPaintedItem { Q_OBJECT - Q_PROPERTY(QString diveId READ diveId WRITE setDiveId NOTIFY diveIdChanged) + Q_PROPERTY(QString diveId MEMBER m_diveId WRITE setDiveId) Q_PROPERTY(qreal devicePixelRatio READ devicePixelRatio WRITE setDevicePixelRatio NOTIFY devicePixelRatioChanged) public: @@ -32,7 +32,6 @@ private: signals: void rightAlignedChanged(); - void diveIdChanged(); void devicePixelRatioChanged(); }; |