aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-06-27 20:55:36 +0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-06-27 20:55:36 +0800
commit937fef819a8d1a4b9a7f643f19317fe460457a14 (patch)
tree33b238760cfecd53ec6ba6cca25bb1fd58b8331a /qt-ui
parent3fa3f55163cefa7f94c8f59d98d6e71ac672892e (diff)
downloadsubsurface-937fef819a8d1a4b9a7f643f19317fe460457a14.tar.gz
Remove unused code
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/diveplanner.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index 667bda5bd..c80b7c711 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -208,9 +208,6 @@ void DivePlannerGraphics::moveActiveHandler(const QPointF& pos)
double xpos = timeLine->posAtValue(rint(timeLine->valueAt(pos)));
double ypos = depthLine->posAtValue(rint(depthLine->valueAt(pos)));
QPointF newPos(xpos, ypos);
- int sec = rint(timeLine->valueAt(newPos)) * 60;
- int mm = rint(depthLine->valueAt(newPos)) * 1000;
- bool moveLines = false;;
// do not allow it to move between handlers.
if (handles.count() > 1) {
if (idx == 0 ) { // first