From 7807414452760683e6b7e9118aeaa5badf472f27 Mon Sep 17 00:00:00 2001 From: Martin Rodriguez Reboredo Date: Thu, 7 Dec 2023 12:07:19 -0300 Subject: [PATCH] MainApplication: Enable localStorage for private Cherry picked from: bfba0a5d5e998a7cc9f0bc4628a033a56e3828ff Signed-off-by: Martin Rodriguez Reboredo --- src/lib/app/mainapplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/app/mainapplication.cpp b/src/lib/app/mainapplication.cpp index 53e6cb062..00e23e9f4 100644 --- a/src/lib/app/mainapplication.cpp +++ b/src/lib/app/mainapplication.cpp @@ -1018,7 +1018,7 @@ void MainApplication::loadSettings() settings.endGroup(); if (isPrivate()) { - webSettings->setAttribute(QWebEngineSettings::LocalStorageEnabled, false); + profile->setPersistentStoragePath(DataPaths::path(DataPaths::Temp) + QLatin1String("/private-storage")); history()->setSaving(false); }