aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmltest
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2020-10-29 18:21:23 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2020-10-29 19:47:08 +0100
commitcbb49ad30b5b5c1cc30531c6bd6c9fbcc4142da0 (patch)
treebd1e16e3b432b8b105f5de936199dec99acafb28 /tests/auto/qmltest
parent5bbfd850d77c05e2d1ccf4d052e70240d5aae342 (diff)
Fix tst_qquickitem::touchEventAcceptIgnore
This test (like many) is older than the setAcceptTouchEvents() function added in 1457df74f4c1d770e1e820de8cd082be1bd2489e. Now there are 3 cases: if we don't setAcceptTouchEvents(true), the item doesn't get any touch events; but if it does, it can accept or reject the individual events. For some reason the touch events were tediously created and sent before, but using QTest::touchEvent() simplifies it a lot. Task-number: QTBUG-86729 Change-Id: I2dd12af8c356c5455bd37d691fc24f3e1d9c107b Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/qmltest')
0 files changed, 0 insertions, 0 deletions