diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2023-06-04 02:14:23 +0300 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2023-06-27 20:29:49 +0300 |
| commit | 8ace5b26aa7d0b0e800655089c6405d67dbaca12 (patch) | |
| tree | 54590da404be1402054223ecfe5c36cf1ec6c219 /src/corelib/serialization/qxmlstream.cpp | |
| parent | a8cf976ce6c82192bdf2d4b310e9ba0ea75bd0b0 (diff) | |
QTest: port qSleep() to std::this_thread::sleep_for
As requested in code review. Big improvement, code-wise.
tst_Sleep::wait() was failing on the CI, so be more accurate by using
QElapsedTimer::durationElapsed(), which returns nanoseconds.
Pick-to: 6.6
Change-Id: I5bed6d6bd768adfdecab2475e6cbe245c20aabd7
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/serialization/qxmlstream.cpp')
0 files changed, 0 insertions, 0 deletions
