mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
MainApplication: Enable localStorage for private
Cherry picked from: bfba0a5d5e
Signed-off-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
This commit is contained in:
parent
d0a82973e6
commit
7807414452
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user