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.
This commit is contained in:
parent
33e4de5be6
commit
0e4bef09f4
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user