summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorv1993 <v19930312@gmail.com>2021-09-23 23:21:00 +0200
committerv1993 <v19930312@gmail.com>2021-09-23 23:49:39 +0200
commit3e07655b1b88d76d3c415db1b688683b61ac4762 (patch)
tree542c4a8d4b9206354d7401f9dca5f43405d067cb
parentMerge pull request #7045 from behunin/patch-1 (diff)
downloadyuzu-3e07655b1b88d76d3c415db1b688683b61ac4762.tar
yuzu-3e07655b1b88d76d3c415db1b688683b61ac4762.tar.gz
yuzu-3e07655b1b88d76d3c415db1b688683b61ac4762.tar.bz2
yuzu-3e07655b1b88d76d3c415db1b688683b61ac4762.tar.lz
yuzu-3e07655b1b88d76d3c415db1b688683b61ac4762.tar.xz
yuzu-3e07655b1b88d76d3c415db1b688683b61ac4762.tar.zst
yuzu-3e07655b1b88d76d3c415db1b688683b61ac4762.zip
-rw-r--r--src/yuzu/applets/qt_web_browser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/applets/qt_web_browser.cpp b/src/yuzu/applets/qt_web_browser.cpp
index 652d99570..7d433ca50 100644
--- a/src/yuzu/applets/qt_web_browser.cpp
+++ b/src/yuzu/applets/qt_web_browser.cpp
@@ -54,6 +54,9 @@ QtNXWebEngineView::QtNXWebEngineView(QWidget* parent, Core::System& system,
input_interpreter(std::make_unique<InputInterpreter>(system)),
default_profile{QWebEngineProfile::defaultProfile()},
global_settings{QWebEngineSettings::globalSettings()} {
+ default_profile->setPersistentStoragePath(QString::fromStdString(Common::FS::PathToUTF8String(
+ Common::FS::GetYuzuPath(Common::FS::YuzuPath::YuzuDir) / "qtwebengine")));
+
QWebEngineScript gamepad;
QWebEngineScript window_nx;