Fix frozen start on Mac (processEvents should not be used if UI is not displayed).

This commit is contained in:
Julien Wadel 2024-12-02 15:56:43 +01:00
parent 40ed719c98
commit bc836944f2

View file

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