diff options
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r-- | qt-ui/diveplanner.cpp | 3 |
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 |