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
|
||||
{
|
||||
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…
Add table
Reference in a new issue