From 937fef819a8d1a4b9a7f643f19317fe460457a14 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 27 Jun 2013 20:55:36 +0800 Subject: Remove unused code Signed-off-by: Dirk Hohndel --- qt-ui/diveplanner.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'qt-ui') 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 -- cgit v1.2.3-70-g09d2