mirror of https://github.com/qt/qtbase.git
Merge 024db01873
into b4c59c7d49
This commit is contained in:
commit
dc8b5ffe76
|
@ -314,7 +314,7 @@ void QThread::msleep(unsigned long msecs)
|
|||
|
||||
void QThread::usleep(unsigned long usecs)
|
||||
{
|
||||
::Sleep((usecs / 1000) + 1);
|
||||
::Sleep((usecs + 999) / 1000);
|
||||
}
|
||||
|
||||
#if QT_CONFIG(thread)
|
||||
|
|
Loading…
Reference in New Issue