Skip to content

Enable localStorage for private browsing

When I visit a Substack blog or an Soapbox Fediverse instance in private the pages generally fail to load because they use localStorage, which is null in that case. This MR fixes the issue by setting the QWebEngineProfile::persistentStoragePath to subdir private-storage in DataPaths::Temp and by taking into account HTML5StorageEnabled when setting QWebEngineSettings::LocalStorageEnabled.

Merge request reports