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>
This commit is contained in:
jan Iversen 2018-06-08 09:53:04 +02:00 committed by Dirk Hohndel
parent e993d4f005
commit 99eff8e247

View file

@ -8,7 +8,7 @@
class QMLProfile : public QQuickPaintedItem class QMLProfile : public QQuickPaintedItem
{ {
Q_OBJECT 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) Q_PROPERTY(qreal devicePixelRatio READ devicePixelRatio WRITE setDevicePixelRatio NOTIFY devicePixelRatioChanged)
public: public:
@ -32,7 +32,6 @@ private:
signals: signals:
void rightAlignedChanged(); void rightAlignedChanged();
void diveIdChanged();
void devicePixelRatioChanged(); void devicePixelRatioChanged();
}; };