Fixed positioning of the dive Handlers.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-07-02 11:47:26 -03:00
parent 94c2e5dc18
commit 43664d7cd5

View file

@ -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