diff options
author | Michal Klocek <michal.klocek@qt.io> | 2021-11-16 16:05:27 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-12-01 17:50:45 +0000 |
commit | a9b068b6ded78abc5db28ec9717beff731c7cced (patch) | |
tree | 2eba53c7b9fb535f5b2500a22d60e0a704f793ef /examples | |
parent | e54f15ad56ca9741d9268f346a2d4edf9e75c2e4 (diff) |
Fix race condition on layout
Calling some methods without 'meaningful' layout when
render frame is visible tiggers at the best some DCHECKS.
Therefore if frame is visible wait for 'meaningful' layout.
This fixes some flaky tests on toPlainTextSync call.
Change-Id: I746a1c436798b440c59f9b8b4a1d297e3fa7e56d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 1b8aa58a618eee23c4fd23b4fb51667fd8a3f2b8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions