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