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