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