aboutsummaryrefslogtreecommitdiffstats
path: root/src/particles
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2016-07-04 23:36:39 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2016-07-05 05:51:26 +0000
commit5b470b6b6ad07975f9f9a56425a09b4827e87650 (patch)
tree6795b26e29489667d5db98e51afeb62989246fee /src/particles
parent603ff80d3e7622b14d666df73a03e29aec874dda (diff)
Improve tst_QQuickMouseArea::pressedCanceledOnWindowDeactivate
Make it more reliable and faster - average run time goes down by ~400 ms while the test passes reliable for me after this change. Most QTRY_* will return instantly since the condition will be good in any case. On my laptop the test tended to fail roughly every 4th run without this patch. The failure was the second click on the new window not working without the QTRY_VERIFY. Removing the extra 200 ms wait time is what makes it faster - I see no good reason for the wait here. Change-Id: I5f45da91ef04a9b807ff0e9362c9d9b3881c227d Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/particles')
0 files changed, 0 insertions, 0 deletions