aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickevents_p_p.h
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2016-08-23 16:01:35 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2016-08-24 14:26:33 +0000
commit76c627b1db48390e61d1320d33743447690d3d4d (patch)
treecc0fbd453ff923617ab1c9f8363cd17fabb0ef0e /src/quick/items/qquickevents_p_p.h
parent8a06075f48ad352acfc70111682e7decf8fedb33 (diff)
QQuickEventPoint::reset: pass scenePos and velocity as const references
Change-Id: Ife4dff906e17f92bcbfa2003ceb9f77e42cbb6ff Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Diffstat (limited to 'src/quick/items/qquickevents_p_p.h')
-rw-r--r--src/quick/items/qquickevents_p_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickevents_p_p.h b/src/quick/items/qquickevents_p_p.h
index b954c8a4ec..e50819ae61 100644
--- a/src/quick/items/qquickevents_p_p.h
+++ b/src/quick/items/qquickevents_p_p.h
@@ -270,7 +270,7 @@ public:
QQuickEventPoint(QQuickPointerEvent *parent);
- void reset(Qt::TouchPointState state, QPointF scenePos, quint64 pointId, ulong timestamp, QVector2D velocity = QVector2D());
+ void reset(Qt::TouchPointState state, const QPointF &scenePos, quint64 pointId, ulong timestamp, const QVector2D &velocity = QVector2D());
void invalidate() { m_valid = false; }