diff options
| author | Linus Jahn <lnj@kaidan.im> | 2022-09-09 19:24:19 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-09-09 22:49:06 +0200 |
| commit | 4428fdaa961fc8a44126e20887b8ca144503b27d (patch) | |
| tree | b4ed58fd2699e1955f523ce6cc669896e5b52a20 /src/base/QXmppHttpFileSource.cpp | |
| parent | 668447ddc8d7cca55516b569e45adb64b19ec6c4 (diff) | |
tests: util: Add wait(QFuture) function
The function uses a QSignalSpy and a QFutureWatcher to wait for the
future's result. It blocks until the result is there. However it still
runs the event loop, so processing of the future can be done in the
background.
Diffstat (limited to 'src/base/QXmppHttpFileSource.cpp')
0 files changed, 0 insertions, 0 deletions
