diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-08-26 16:34:06 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-08-26 16:34:06 -0300 |
commit | 367fc6e1c30c4fdeb61e06f7755954141ac8348c (patch) | |
tree | c1ab8bdb83b87d882c5b92468f90ee26c47eb2b8 /qt-ui/diveplanner.h | |
parent | de2f5d9e607efa4dadff63aa69553e6fb5571337 (diff) | |
download | subsurface-367fc6e1c30c4fdeb61e06f7755954141ac8348c.tar.gz |
Moved a lot of code to the Model, cleaning the interface.
Moved a lot of code that handled the positioning of the
DiveHandles on the interface to the model. there are a
few bugs left ( regressions ) that I will fix in the
next commits. With this commit an edition of the points
on the widget will trigger a repaint of the planner profile.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r-- | qt-ui/diveplanner.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index 9174401fc..643a6a321 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -68,8 +68,6 @@ private: class DiveHandler : public QGraphicsEllipseItem{ public: DiveHandler(); - int sec; - int mm; protected: void mousePressEvent(QGraphicsSceneMouseEvent* event); }; |