1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

MainApplication: Enable localStorage for private

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
parent 9d5d9c1d50
commit bfba0a5d5e
No known key found for this signature in database
GPG Key ID: 85883E1B6A5B51C7

View File

@ -1024,7 +1024,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);
} }