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>
This commit is contained in:
Boris Barbulovski 2014-02-09 18:54:25 +01:00 committed by Dirk Hohndel
parent 38f0104d10
commit 6a6fe045b4
2 changed files with 8 additions and 5 deletions

View file

@ -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();