diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-03-08 13:20:29 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-03-13 11:23:52 +0100 |
| commit | 73c52ba2687c2035a40141f2a5236399f8331f4b (patch) | |
| tree | 97255253e7fb3ed1732be9a9a0e952e8f5cb69a9 /src/opengl/qopenglcompositor.cpp | |
| parent | 097f0edc9ff2a53c55395a5ef9dd20f7763d84b5 (diff) | |
QTest::qWaitFor(., int): restore lost Qt::PreciseTimer'ness
Before the qWaitFor() port from int to QDeadlineTimer, the
implementation constructed a QDeadlineTimer internally, passing int
timeout and Qt::PreciseTimer. The int overload that was retained for
source-compatibility, however, constructs the QDeadlineTimer without
the PreciseTimer flag, which is a behavior change.
Restore the Qt 6.6 behavior and pass Qt::PreciseTimer.
Amends fa296ee1dcf4c16fb6f242cf08949485e499fec3.
Pick-to: 6.7 6.7.0
Change-Id: Ib8e5b912c74b70d32a77195edb0d2a30cd7c241d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/opengl/qopenglcompositor.cpp')
0 files changed, 0 insertions, 0 deletions
