aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-02-21 15:40:31 +0100
committerLiang Qi <liang.qi@qt.io>2017-02-21 15:23:00 +0000
commit2a15f6c5de6905b2b0b583c0d37d109eeb94c196 (patch)
tree6fe72e71ddab26bf063ea0eb970cc5f41cf7157f
parentbf1bd3abc9a2d990014fa8be451e0239fe12e198 (diff)
-rw-r--r--src/qmltest/quicktestevent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmltest/quicktestevent.cpp b/src/qmltest/quicktestevent.cpp
index 4b1adf5a90..dc7b917bc4 100644
--- a/src/qmltest/quicktestevent.cpp
+++ b/src/qmltest/quicktestevent.cpp
@@ -129,7 +129,7 @@ namespace QtQuickTest
static void mouseEvent(MouseAction action, QWindow *window,
QObject *item, Qt::MouseButton button,
- Qt::KeyboardModifiers stateKey, QPointF _pos, int delay=-1)
+ Qt::KeyboardModifiers stateKey, const QPointF &_pos, int delay=-1)
{
QTEST_ASSERT(window);
QTEST_ASSERT(item);