From 43664d7cd5468aa579fc48179f1b5c407a01b83f Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 2 Jul 2013 11:47:26 -0300 Subject: Fixed positioning of the dive Handlers. Signed-off-by: Tomaz Canabrava --- qt-ui/diveplanner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index eb8f51afa..2bdec9b74 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -218,7 +218,7 @@ void DivePlannerGraphics::createDecoStops() // Re-position the user generated dive handlers Q_FOREACH(DiveHandler *h, handles){ - h->setPos(timeLine->posAtValue(h->sec / 60), depthLine->posAtValue(h->mm) / 1000); + h->setPos(timeLine->posAtValue(h->sec / 60), depthLine->posAtValue(h->mm / 1000)); } // (re-) create the profile with different colors for segments that were -- cgit v1.2.3-70-g09d2