diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-08-08 14:31:35 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-08-08 12:57:54 +0000 |
commit | 41d0240c8c203fe701efbddc00d0a05254a8a2c4 (patch) | |
tree | 55b9edad50aac54b54aebd541f535d827bcb1e2f /tests/auto/qmltest/events/tst_touch.qml | |
parent | 003e24d72a9647e2dc397906234059fee19103ec (diff) | |
parent | 1b0c9b46ce13b0f9c533f18fb420ff10ad56e4f6 (diff) |
Merge branch 'wip/pointerhandler' into dev
Change-Id: Ifae425744d69779a661c7465d33163a7d53fb8a4
Diffstat (limited to 'tests/auto/qmltest/events/tst_touch.qml')
-rw-r--r-- | tests/auto/qmltest/events/tst_touch.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qmltest/events/tst_touch.qml b/tests/auto/qmltest/events/tst_touch.qml index 5b209a6d0b..fd603e5a71 100644 --- a/tests/auto/qmltest/events/tst_touch.qml +++ b/tests/auto/qmltest/events/tst_touch.qml @@ -35,6 +35,16 @@ MultiPointTouchArea { width: 100 height: 100 + // touchUpdatedSpy stores the QQuickTouchPoint, and in some cases + // MultiPointTouchArea can delete it out from under us. + // (test_simpleChain was failing because touchUpdatedSpy.signalArguments[0][0][0] + // ended up as an empty object somehow.) If we declare + // all the touchpoints that this test will use, that won't happen. + touchPoints: [ + TouchPoint { }, + TouchPoint { } + ] + SignalSpy { id: touchUpdatedSpy target: touchArea |