Fix frozen start on Mac (processEvents should not be used if UI is not displayed).
This commit is contained in:
parent
40ed719c98
commit
bc836944f2
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ void App::init() {
|
|||
lInfo() << log().arg("Starting Thread");
|
||||
mLinphoneThread->start();
|
||||
while (!mLinphoneThread->getThreadId()) // Wait for running thread
|
||||
processEvents();
|
||||
QThread::msleep(100);
|
||||
}
|
||||
|
||||
lInfo() << log().arg("Display server : %1").arg(platformName());
|
||||
|
|
|
|||
Loading…
Reference in a new issue