Fix freeze on start on some systems introduced in recent commit

parent 39ec8cfd
Pipeline #21975 passed with stage
in 19 minutes and 12 seconds
......@@ -209,8 +209,7 @@ void Core::initGUI(const QUrl &Url, const QString &clipsToLoad)
// NOTE: we are restoring only one window, because Kdenlive only uses one MainWindow
m_mainWindow->restore(1, false);
}
pCore->projectManager()->slotLoadOnOpen();
//QMetaObject::invokeMethod(pCore->projectManager(), "slotLoadOnOpen", Qt::QueuedConnection);
QMetaObject::invokeMethod(pCore->projectManager(), "slotLoadOnOpen", Qt::QueuedConnection);
m_mainWindow->show();
QThreadPool::globalInstance()->setMaxThreadCount(qMin(4, QThreadPool::globalInstance()->maxThreadCount()));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment