提交 0e4bef09 编写于 作者: J jp9000

UI: Defer autoconfig to message queue

The Auto-Configuration dialog was being created outside of the Qt
message loop, which could cause a lockup with auth code.
上级 33e4de5b
......@@ -1738,7 +1738,9 @@ void OBSBasic::OBSInit()
msg);
if (button == QMessageBox::Yes) {
on_autoConfigure_triggered();
QMetaObject::invokeMethod(this,
"on_autoConfigure_triggered",
Qt::QueuedConnection);
} else {
msg = QTStr("Basic.FirstStartup.RunWizard.NoClicked");
OBSMessageBox::information(this,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册