diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-07-13 17:26:43 +0200 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-07-13 22:41:43 +0200 |
| commit | d609b20842c0493b13a24653ad0064d6f98d957b (patch) | |
| tree | d0a9d060cc1e6f51f0bdef3c268621c43b6b2327 /src/widgets/doc/snippets/customstyle/customstyle.cpp | |
| parent | 826a98cff1cd92d8b87ddd0df7f9a5b0828ac000 (diff) | |
QCompleter: make filesystem test robust against slow I/O
Use a signal spy to watch for the relevant signal from the file system
model and wait for that before checking whether the completer responded
to that signal by showing (or not showing) the popup.
If the file system model doesn't fire within the default timeout of 5
seconds, skip the rest of the test.
Fixes: QTBUG-46113
Pick-to: 6.4 6.3 6.2
Change-Id: I9becfe19a220bdb178ed8275c327d55ea19aa342
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/customstyle/customstyle.cpp')
0 files changed, 0 insertions, 0 deletions
