From c8b0117d18188b59ff188a3dc0c7c7e6dc662fc8 Mon Sep 17 00:00:00 2001 From: Rael Gugelmin Cunha Date: Sat, 21 Nov 2015 15:10:46 -0200 Subject: Better commenting on private browsing disabling --- scudcloud-1.1/lib/scudcloud.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scudcloud-1.1/lib/scudcloud.py b/scudcloud-1.1/lib/scudcloud.py index 5cf239a..5675e12 100755 --- a/scudcloud-1.1/lib/scudcloud.py +++ b/scudcloud-1.1/lib/scudcloud.py @@ -78,10 +78,10 @@ class ScudCloud(QtGui.QMainWindow): QWebSettings.globalSettings().setAttribute(QWebSettings.PluginsEnabled, self.plugins) # We don't want Java QWebSettings.globalSettings().setAttribute(QWebSettings.JavaEnabled, False) - # We don't need History - QWebSettings.globalSettings().setAttribute(QWebSettings.PrivateBrowsingEnabled, False) # Enabling Local Storage (now required by Slack) QWebSettings.globalSettings().setAttribute(QWebSettings.LocalStorageEnabled, True) + # We need browsing history (required to not limit LocalStorage) + QWebSettings.globalSettings().setAttribute(QWebSettings.PrivateBrowsingEnabled, False) # Enabling Cache self.diskCache = QNetworkDiskCache(self) self.diskCache.setCacheDirectory(self.settings_path) -- cgit v1.1