UI: Remove first run auto-config prompts

This commit is contained in:
Clayton Groeneveld committed 2020-04-18 00:02:26 -05:00
1 parent 19c5da4645
commit 9316373ef3
2 files changed
+3 -21

No files matched your search

+3 -17
View File
@@ -1790,23 +1790,9 @@ void OBSBasic::OBSInit()
config_save_safe(App()->GlobalConfig(), "tmp", nullptr);
}
if (!first_run && !has_last_version && !Active()) {
QString msg;
msg = QTStr("Basic.FirstStartup.RunWizard");
QMessageBox::StandardButton button = OBSMessageBox::question(
this, QTStr("Basic.AutoConfig"), msg);
if (button == QMessageBox::Yes) {
QMetaObject::invokeMethod(this,
"on_autoConfigure_triggered",
Qt::QueuedConnection);
} else {
msg = QTStr("Basic.FirstStartup.RunWizard.NoClicked");
OBSMessageBox::information(
this, QTStr("Basic.AutoConfig"), msg);
}
}
if (!first_run && !has_last_version && !Active())
QMetaObject::invokeMethod(this, "on_autoConfigure_triggered",
Qt::QueuedConnection);
ToggleMixerLayout(config_get_bool(App()->GlobalConfig(), "BasicWindow",
"VerticalVolControl"));