From 99eff8e247f329b8e1e3b0452a90427f75adcb9d Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Fri, 8 Jun 2018 09:53:04 +0200 Subject: mobile: clean use of DiveId in qmlprofile Remove unused signal and simplify qml access to m_diveId Signed-off-by: Jan Iversen --- mobile-widgets/qmlprofile.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mobile-widgets/qmlprofile.h') 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(); }; -- cgit v1.2.3-70-g09d2