aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRael Gugelmin Cunha <rael.gc@gmail.com>2015-11-21 15:10:46 -0200
committerRael Gugelmin Cunha <rael.gc@gmail.com>2015-11-21 15:10:46 -0200
commitc8b0117d18188b59ff188a3dc0c7c7e6dc662fc8 (patch)
tree2833a51420ad978f23a3674b032db1bd5a47ea15
parent6a782b90ce41182de94ccce0849d36afd01cfeed (diff)
downloadscudcloud-c8b0117d18188b59ff188a3dc0c7c7e6dc662fc8.zip
scudcloud-c8b0117d18188b59ff188a3dc0c7c7e6dc662fc8.tar.gz
scudcloud-c8b0117d18188b59ff188a3dc0c7c7e6dc662fc8.tar.bz2
Better commenting on private browsing disabling
-rwxr-xr-xscudcloud-1.1/lib/scudcloud.py4
1 files 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)