summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-26 19:14:55 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-26 19:14:55 -0300
commit03572e233dd25b5eef5b977d19c1fd2bd3af6bae (patch)
treedbfc8738ae87425aeef465521e6519ce97246b57 /qt-ui/diveplanner.h
parentf3b04a88dffcda6cbe10be81d5c9613e0ab00c37 (diff)
downloadsubsurface-03572e233dd25b5eef5b977d19c1fd2bd3af6bae.tar.gz
Remove the bogus time/depth, and fix the positioning of the Handler after updateTicks.
Remove the bogus time/depth that was duplicated in the Handler - dirk didn't realized that I already created the same data that he put on it later, but mine was double and his his was int, I choosed his implementation since he knows a bit more than I do about subsurface internals. Besides that, I worked a bit on the logic that called update ticks, because it was calling it for every mouseMoveEvent, it created sooooo many ticks that it made the app unusable ( and slow. ) Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 8c3505f52..4553c3b94 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -20,8 +20,6 @@ public:
DiveHandler();
QGraphicsLineItem *from;
QGraphicsLineItem *to;
- qreal time;
- qreal depth;
int sec;
int mm;
};