aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-07-02 11:47:26 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-07-02 11:47:26 -0300
commit43664d7cd5468aa579fc48179f1b5c407a01b83f (patch)
tree7388964eca2334859c26116e2949a86ad8f3b3a5
parent94c2e5dc18e5dcf8bd4d69cc82f2798a85b85bc0 (diff)
downloadsubsurface-43664d7cd5468aa579fc48179f1b5c407a01b83f.tar.gz
Fixed positioning of the dive Handlers.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
-rw-r--r--qt-ui/diveplanner.cpp2
1 files changed, 1 insertions, 1 deletions
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