summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorAxel Spoerl <axel.spoerl@qt.io>2022-11-22 12:57:28 +0100
committerAxel Spoerl <axel.spoerl@qt.io>2022-11-25 00:05:48 +0100
commitf7089e691e2f154f5ce6b50c5fee3d52e693c0ff (patch)
tree91bf0f02c9b65c38f0c87e8fdbd34fe7f8d45009 /src/gui
parent4a6ce541c59cfaabb5c68066d0e19912032e48df (diff)
Handle multiple paint events in tst_QWidgetRepaintManager
The helper function TestWidget::waitForPainted returned after the test widget had consumed the first paint event. In case of multiple paint events, QRegion paintedRegions did not match the entire region that was supposed to be painted. The test function children() failed/flaked due to that. This patch extends the helper function. After consumption of the first paint event, it processes events until the painted regions no longer change. Pick-to: 6.4 Fixes: QTBUG-108764 Change-Id: I54e14bb07725dd1f602cc93085da13836e3b7494 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions