diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-03-08 11:27:57 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-03-14 15:54:55 +0100 |
| commit | e102edfbf8db3a0a541de2a8a3e3782b7e5b234b (patch) | |
| tree | 6d2d7d483939b81a9e14c693e874c29b3539b1d2 /src/plugins/sqldrivers/mysql/qsql_mysql.cpp | |
| parent | f38ba1827c1d488642b08df5982bb9dbba710e2a (diff) | |
QTest::qWaitFor: remove superfluous check for isForever()
When a QDeadLineTimer::isForever() then its remainingTime() is
chrono::nanoseconds::max(), which is exactly representable as
chrono::milliseconds, and greater than 10ms, so the following code
would have done the right thing already.
Let it.
This also removes the duplicate mentioning of the 10ms sleeping
timeslice.
Amends fa296ee1dcf4c16fb6f242cf08949485e499fec3.
Pick-to: 6.7
Change-Id: Ibc32d6069b78cd4583df07d0707d98645440b36c
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
