diff options
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r-- | qt-ui/diveplanner.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index e9dfd91e9..547e38727 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -73,7 +73,6 @@ protected: bool isPointOutOfBoundaries(const QPointF& point); void deleteTemporaryDivePlan(struct divedatapoint* dp); qreal fromPercent(qreal percent, Qt::Orientation orientation); - private slots: void increaseTime(); void increaseDepth(); @@ -96,8 +95,9 @@ private: /* This is the handler that's being dragged. */ DiveHandler *activeDraggedHandler; - // helper to save the positions where the drag-handler is valid. - QPointF lastValidPos; + // When we start to move the handler, this pos is saved. + // so we can revert it later. + QPointF originalHandlerPos; /* this is the background of the dive, the blue-gradient. */ QGraphicsPolygonItem *diveBg; |