未验证 提交 803df3a4 编写于 作者: J Jim 提交者: GitHub

Merge pull request #2744 from cg2121/auto-config-dialogs

UI: Remove first run auto-config prompts
......@@ -143,10 +143,6 @@ BandwidthTest.Region.EU="Europe"
BandwidthTest.Region.Asia="Asia"
BandwidthTest.Region.Other="Other"
# first time startup
Basic.FirstStartup.RunWizard="Would you like to run the auto-configuration wizard? You can also manually configure your settings by clicking the Settings button in the main window."
Basic.FirstStartup.RunWizard.NoClicked="If you change your mind, you can run the auto-configuration wizard any time again from the Tools menu."
# auto config wizard
Basic.AutoConfig="Auto-Configuration Wizard"
Basic.AutoConfig.ApplySettings="Apply Settings"
......
......@@ -1802,23 +1802,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"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册