1
0
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:
Nils Fenner 2015-10-11 13:47:19 +02:00
parent 59b9e01b02
commit 42a917fc58
No known key found for this signature in database
GPG Key ID: 9591A163FF9BE04C

View File

@ -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;
}