diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-08-19 10:01:30 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-08-19 12:50:28 +0000 |
commit | 01a9c006b0cb3f9ec7c140d25e6bfa3ca6250a4c (patch) | |
tree | 5855832ad2bcfd064808c1f33c10dbcc5f317b73 /src/qml/qml/qqmlnotifier_p.h | |
parent | 4a9635b0bfdc6a189375bc48e68b00bd05e15c82 (diff) |
TestCase::mouseDrag: set mouse move delay >= 1 ms
Infinite-speed drags do not work well with velocity-sensitive
components like Flickable. As with change d04982dc on qtbase,
adding a short delay helps to stabilize tests.
To keep it flexible, we make QTest::defaultMouseDelay()
available via the qtest_events.defaultMouseDelay property.
So the delay can be increased by passing a larger delay
value to mouseDrag, or by changing the QTEST_MOUSEEVENT_DELAY
environment variable (as before).
Task-number: QTBUG-55382
Change-Id: I8f8088758a206be104a439ee0d1832eeca574e8c
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlnotifier_p.h')
0 files changed, 0 insertions, 0 deletions