aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmltest/events/tst_touch.qml
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2017-11-06 18:05:00 +0100
committerLiang Qi <liang.qi@qt.io>2017-11-06 18:05:07 +0100
commit692ff260851575171be6751a7bdf34a744c2ed9d (patch)
tree67c2ee80fb6a477f731ebc1898a5dfd43c878d2d /tests/auto/qmltest/events/tst_touch.qml
parent8740f35e69dad301eeaa2fc4b74ecab661cdc0c4 (diff)
parent5cb76fb3704947cfc4d575695b137460ecc8bbd9 (diff)
Merge remote-tracking branch 'origin/5.10' into dev
Diffstat (limited to 'tests/auto/qmltest/events/tst_touch.qml')
-rw-r--r--tests/auto/qmltest/events/tst_touch.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qmltest/events/tst_touch.qml b/tests/auto/qmltest/events/tst_touch.qml
index fd603e5a71..b7fa701429 100644
--- a/tests/auto/qmltest/events/tst_touch.qml
+++ b/tests/auto/qmltest/events/tst_touch.qml
@@ -183,10 +183,10 @@ MultiPointTouchArea {
function test_simpleChain() {
var first = 1;
- touchEvent(touchArea).press(first).commit().release(first).commit();
- compare(touchUpdatedSpy.count, 2);
- var touchPoint = touchUpdatedSpy.signalArguments[0][0][0];
- verify(comparePoint(touchPoint, first, touchArea.width / 2, touchArea.height / 2));
+ touchEvent(interior).press(first).commit().release(first).commit();
+ compare(interiorSpy.count, 2);
+ var touchPoint = interiorSpy.signalArguments[0][0][0];
+ verify(comparePoint(touchPoint, first, interior.width / 2, interior.height / 2));
}
}
}