summaryrefslogtreecommitdiffstats
path: root/config.tests/avx512
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2018-09-15 14:35:24 +0200
committerTony Sarajärvi <tony.sarajarvi@qt.io>2018-09-15 15:39:21 +0000
commit6bb0cbc6865911c31f5edee7c24f270d265bd46d (patch)
tree2666556d0faf21eba59c6127ee33fda290cd6e2b /config.tests/avx512
parentf4dd670fe93b094aade3eac26adc81cf71b197b7 (diff)
tst_QMdiSubWindow: fix flaky setOpaqueResizeAndMove test
tst_QMdiSubWindow::setOpaqueResizeAndMove checks if a resize of the mdi subwindow works as expected by simulating mouse events. Those events are sent to fast and therefore the operationMap of QMdiSubWindowPrivate is not yet updated which let the test fail. There was already a call to qWait(250) to wait for the 200ms timer but sometimes (esp. in virtual environments) the timer was not triggered after this period. Fix it by checking if resizeTimerId is set back to -1 which means that updateDirtyRegions() was called. Change-Id: I961ba80589d2f725a6858ba70b84fb35750a6964 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Diffstat (limited to 'config.tests/avx512')
0 files changed, 0 insertions, 0 deletions