Hide the option disable web applet if it is not used
All checks were successful
eden-license / license-header (pull_request) Successful in 24s

This commit is contained in:
MaranBr 2025-10-09 11:49:20 -04:00
parent e3116f288e
commit 71384ab1c0

View file

@ -83,8 +83,7 @@ void ConfigureDebug::SetConfiguration() {
#ifdef YUZU_USE_QT_WEB_ENGINE
ui->disable_web_applet->setChecked(UISettings::values.disable_web_applet.GetValue());
#else
ui->disable_web_applet->setEnabled(false);
ui->disable_web_applet->setText(tr("Web applet not compiled"));
ui->disable_web_applet->setVisible(false);
#endif
}