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:
parent
e993d4f005
commit
99eff8e247
@ -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();
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user