In the source file "corelib/io/qwinoverlappedionotifier.cpp" line354 to 371 of version 5.6.0 Beta:
int t = msecs;
QElapsedTimer stopWatch;
stopWatch.start();
forever {
OVERLAPPED *triggeredOverlapped = waitForAnyNotified(t);
....
msecs = qt_subtract_from_timeout(msecs, stopWatch.elapsed());
....
}
It should be:
t = qt_subtract_from_timeout(msecs, stopWatch.elapsed());
It was introduced by the commit "ed0c0070f9b05c647019270dfc42073d071c830a", and appeared to affect a lot of versions.
For Gerrit Dashboard: QTBUG-50173 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
144750,1 | fix usage of qt_subtract_from_timeout in QWinOverlappedIoNotifier | 5.6 | qt/qtbase | Status: ABANDONED | 0 | 0 |