diff options
Diffstat (limited to 'qt-mobile/qmlprofile.h')
-rw-r--r-- | qt-mobile/qmlprofile.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-mobile/qmlprofile.h b/qt-mobile/qmlprofile.h index b5192913a..6cbdd62ff 100644 --- a/qt-mobile/qmlprofile.h +++ b/qt-mobile/qmlprofile.h @@ -11,6 +11,8 @@ class QMLProfile : public QQuickPaintedItem Q_PROPERTY(QString diveId READ diveId WRITE setDiveId NOTIFY diveIdChanged) public: explicit QMLProfile(QQuickItem *parent = 0); + virtual ~QMLProfile(); + void paint(QPainter *painter); QString diveId() const; @@ -18,7 +20,7 @@ public: private: QString m_diveId; - ProfileWidget2 *profile; + ProfileWidget2 *m_profileWidget; signals: void rightAlignedChanged(); void diveIdChanged(); |