1
0
Fork 0
forked from eden-emu/eden

[common] Better approach to enabling and disabling the Web Applet (#2729)

This implements a better approach to enabling and disabling the Web Applet, whether compiled or not.

Reviewed-on: eden-emu/eden#2729
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Co-authored-by: MaranBr <maranbr@outlook.com>
Co-committed-by: MaranBr <maranbr@outlook.com>
This commit is contained in:
MaranBr 2025-10-14 02:38:04 +02:00 committed by crueter
parent 8ae7cfe96a
commit 053f4e95d4
Signed by untrusted user: crueter
GPG key ID: 425ACD2D4830EBC6
5 changed files with 53 additions and 50 deletions

View file

@ -81,7 +81,7 @@ void ConfigureDebug::SetConfiguration() {
ui->perform_vulkan_check->setChecked(Settings::values.perform_vulkan_check.GetValue());
#ifdef YUZU_USE_QT_WEB_ENGINE
ui->disable_web_applet->setChecked(UISettings::values.disable_web_applet.GetValue());
ui->disable_web_applet->setChecked(Settings::values.disable_web_applet.GetValue());
#else
ui->disable_web_applet->setVisible(false);
#endif
@ -116,7 +116,7 @@ void ConfigureDebug::ApplyConfiguration() {
Settings::values.disable_macro_hle = ui->disable_macro_hle->isChecked();
Settings::values.extended_logging = ui->extended_logging->isChecked();
Settings::values.perform_vulkan_check = ui->perform_vulkan_check->isChecked();
UISettings::values.disable_web_applet = ui->disable_web_applet->isChecked();
Settings::values.disable_web_applet = ui->disable_web_applet->isChecked();
Debugger::ToggleConsole();
Common::Log::Filter filter;
filter.ParseFilterString(Settings::values.log_filter.GetValue());