This commit is contained in:
liu0hy 2025-09-17 18:28:04 +08:00 committed by GitHub
commit dc8b5ffe76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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)