diff options
author | lat9nq <lat9nq@gmail.com> | 2022-03-17 16:55:30 -0400 |
---|---|---|
committer | lat9nq <lat9nq@gmail.com> | 2022-03-17 16:55:30 -0400 |
commit | 1cbe23ed7b0d527a4ae2595ee7810a5c4579ed0a (patch) | |
tree | 6b9ab2774001e7ab1097f5057aa6f1955633aa43 /src/yuzu/main.cpp | |
parent | f55af65e8214f50792d967e481ab612b33c7c3b2 (diff) |
yuzu: Move disable_web_applet to UISettings
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r-- | src/yuzu/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 06774768d9..a3ec822a6b 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -587,7 +587,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 (disable_web_applet || Settings::values.enable_raw_input) { + if (UISettings::values.disable_web_applet || Settings::values.enable_raw_input) { emit WebBrowserClosed(Service::AM::Applets::WebExitReason::WindowClosed, "http://localhost/"); return; @@ -657,7 +657,7 @@ void GMainWindow::WebBrowserOpenWebPage(const std::string& main_url, "Super Mario 3D All-Stars. Are you sure you want to disable the web applet?"), QMessageBox::Yes | QMessageBox::No); if (result == QMessageBox::Yes) { - disable_web_applet = true; + UISettings::values.disable_web_applet = true; web_browser_view.SetFinished(true); } }); |