mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
42659aefe8
commit
59e0692069
|
@ -188,7 +188,7 @@ bool IPC::waitUntilAccepted(time_t postTime, int32_t timeout/*=-1*/)
|
|||
while (!(result = isEventAccepted(postTime)))
|
||||
{
|
||||
qApp->processEvents();
|
||||
QThread::sleep(10);
|
||||
QThread::msleep(10);
|
||||
if (timeout > 0 && difftime(time(0), start) >= timeout)
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user