aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorMaranBr <maranbr@outlook.com>2025-10-14 02:38:04 +0200
committercrueter <crueter@eden-emu.dev>2025-10-14 02:38:04 +0200
commit053f4e95d4cfee38efd813c0a2d7984eb62d2edb (patch)
tree44c93a4fc4d5e9a7549e3e9517e97903b59aa9a9 /src/yuzu/main.cpp
parent8ae7cfe96aec47bb0812f6f64701b69b2debe9c9 (diff)
[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: https://git.eden-emu.dev/eden-emu/eden/pulls/2729 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: MaranBr <maranbr@outlook.com> Co-committed-by: MaranBr <maranbr@outlook.com>
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 44ed29f141..2c991b9208 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -934,7 +934,7 @@ void GMainWindow::WebBrowserOpenWebPage(const std::string& main_url,
#ifdef YUZU_USE_QT_WEB_ENGINE
// Raw input breaks with the web applet, Disable web applets if enabled
- if (UISettings::values.disable_web_applet || Settings::values.enable_raw_input) {
+ if (Settings::values.disable_web_applet || Settings::values.enable_raw_input) {
emit WebBrowserClosed(Service::AM::Frontend::WebExitReason::WindowClosed,
"http://localhost/");
return;
@@ -1007,7 +1007,7 @@ void GMainWindow::WebBrowserOpenWebPage(const std::string& main_url,
"applet?\n(This can be re-enabled in the Debug settings.)"),
QMessageBox::Yes | QMessageBox::No);
if (result == QMessageBox::Yes) {
- UISettings::values.disable_web_applet = true;
+ Settings::values.disable_web_applet = true;
web_applet->SetFinished(true);
}
});