diff options
author | bunnei <bunneidev@gmail.com> | 2021-10-01 01:29:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-01 01:29:28 +0200 |
commit | c3784b2a08c6419cb4242e1d38bafdd3aca32ce7 (patch) | |
tree | 7499b37e296fddb4fb8421c2edb10ae8a31191b3 /src | |
parent | Merge pull request #7061 from ameerj/dma-buffer-misc (diff) | |
parent | Use subdirectory of main data directory for QtWebEngine storage (diff) | |
download | yuzu-c3784b2a08c6419cb4242e1d38bafdd3aca32ce7.tar yuzu-c3784b2a08c6419cb4242e1d38bafdd3aca32ce7.tar.gz yuzu-c3784b2a08c6419cb4242e1d38bafdd3aca32ce7.tar.bz2 yuzu-c3784b2a08c6419cb4242e1d38bafdd3aca32ce7.tar.lz yuzu-c3784b2a08c6419cb4242e1d38bafdd3aca32ce7.tar.xz yuzu-c3784b2a08c6419cb4242e1d38bafdd3aca32ce7.tar.zst yuzu-c3784b2a08c6419cb4242e1d38bafdd3aca32ce7.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/applets/qt_web_browser.cpp | 3 |
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; |