summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index ce4dd6d4f..621e8a2a5 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -51,11 +51,11 @@ protected:
void clear_generated_deco();
void create_deco_stop();
- bool isPointOutOfBoundaries(QPointF point);
+ bool isPointOutOfBoundaries(const QPointF& point);
private:
- void moveActiveHandler(QPointF pos);
+ void moveActiveHandler(const QPointF& pos);
QList<QGraphicsLineItem*> lines;
QList<DiveHandler *> handles;
QGraphicsLineItem *verticalLine;