summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar v19932021-09-24 00:21:00 +0300
committerGravatar v19932021-09-24 00:49:39 +0300
commit3e07655b1b88d76d3c415db1b688683b61ac4762 (patch)
tree542c4a8d4b9206354d7401f9dca5f43405d067cb /src
parentMerge pull request #7045 from behunin/patch-1 (diff)
downloadyuzu-3e07655b1b88d76d3c415db1b688683b61ac4762.tar.gz
yuzu-3e07655b1b88d76d3c415db1b688683b61ac4762.tar.xz
yuzu-3e07655b1b88d76d3c415db1b688683b61ac4762.zip
Use subdirectory of main data directory for QtWebEngine storage
Previously, an unrelated directory was used for this. Keep everything together for consistency.
Diffstat (limited to 'src')
-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,
54 input_interpreter(std::make_unique<InputInterpreter>(system)), 54 input_interpreter(std::make_unique<InputInterpreter>(system)),
55 default_profile{QWebEngineProfile::defaultProfile()}, 55 default_profile{QWebEngineProfile::defaultProfile()},
56 global_settings{QWebEngineSettings::globalSettings()} { 56 global_settings{QWebEngineSettings::globalSettings()} {
57 default_profile->setPersistentStoragePath(QString::fromStdString(Common::FS::PathToUTF8String(
58 Common::FS::GetYuzuPath(Common::FS::YuzuPath::YuzuDir) / "qtwebengine")));
59
57 QWebEngineScript gamepad; 60 QWebEngineScript gamepad;
58 QWebEngineScript window_nx; 61 QWebEngineScript window_nx;
59 62