mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 10:51:50 -05:00
Merge pull request #7075 from v1993/power-of-tea
applets: Use subdirectory of main data directory for QtWebEngine storage
This commit is contained in:
commit
c3784b2a08
1 changed files with 3 additions and 0 deletions
|
@ -54,6 +54,9 @@ QtNXWebEngineView::QtNXWebEngineView(QWidget* parent, Core::System& system,
|
||||||
input_interpreter(std::make_unique<InputInterpreter>(system)),
|
input_interpreter(std::make_unique<InputInterpreter>(system)),
|
||||||
default_profile{QWebEngineProfile::defaultProfile()},
|
default_profile{QWebEngineProfile::defaultProfile()},
|
||||||
global_settings{QWebEngineSettings::globalSettings()} {
|
global_settings{QWebEngineSettings::globalSettings()} {
|
||||||
|
default_profile->setPersistentStoragePath(QString::fromStdString(Common::FS::PathToUTF8String(
|
||||||
|
Common::FS::GetYuzuPath(Common::FS::YuzuPath::YuzuDir) / "qtwebengine")));
|
||||||
|
|
||||||
QWebEngineScript gamepad;
|
QWebEngineScript gamepad;
|
||||||
QWebEngineScript window_nx;
|
QWebEngineScript window_nx;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue