mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue