summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveprofileitem.h
diff options
context:
space:
mode:
authorGravatar Boris Barbulovski <bbarbulovski@gmail.com>2014-02-09 18:54:25 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-09 14:42:06 -0800
commit6a6fe045b40b8ff9a46581d7a8c225ee8fb47942 (patch)
treea67e13ea9aed631145dddd1fb00b08d151b7fb8d /qt-ui/profile/diveprofileitem.h
parent38f0104d108ebc0c661ce7914c6f3ee9b29b8d3a (diff)
downloadsubsurface-6a6fe045b40b8ff9a46581d7a8c225ee8fb47942.tar.gz
diveprofileitem.cpp improvements
* Initialize/construct all variable members in constructor list. Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveprofileitem.h')
-rw-r--r--qt-ui/profile/diveprofileitem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/diveprofileitem.h b/qt-ui/profile/diveprofileitem.h
index 1f9fa26e3..80c840736 100644
--- a/qt-ui/profile/diveprofileitem.h
+++ b/qt-ui/profile/diveprofileitem.h
@@ -66,6 +66,7 @@ class DiveProfileItem : public AbstractProfilePolygonItem{
Q_OBJECT
public:
+ DiveProfileItem();
virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0);
virtual void modelDataChanged(const QModelIndex& topLeft = QModelIndex(), const QModelIndex& bottomRight = QModelIndex());
virtual void preferencesChanged();