1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 17:52:10 +02:00

MainApplication: Enable localStorage for private

Cherry picked from: bfba0a5d5e

Signed-off-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
This commit is contained in:
Martin Rodriguez Reboredo 2023-12-07 12:07:19 -03:00 committed by Juraj Oravec
parent d0a82973e6
commit 7807414452
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B

View File

@ -1018,7 +1018,7 @@ void MainApplication::loadSettings()
settings.endGroup(); settings.endGroup();
if (isPrivate()) { if (isPrivate()) {
webSettings->setAttribute(QWebEngineSettings::LocalStorageEnabled, false); profile->setPersistentStoragePath(DataPaths::path(DataPaths::Temp) + QLatin1String("/private-storage"));
history()->setSaving(false); history()->setSaving(false);
} }