Preferences/__init__.py

changeset 1314
7e7b88c58fda
parent 1196
77da430b4080
child 1337
95ceea538e4c
--- a/Preferences/__init__.py	Mon Sep 12 18:03:05 2011 +0200
+++ b/Preferences/__init__.py	Tue Sep 13 18:39:41 2011 +0200
@@ -638,6 +638,7 @@
         "VirusTotalServiceKey": "",
         "VirusTotalSecure": False,
         "SearchLanguage": QLocale().language(),
+        "DoNotTrack": False,
     }
     
     websettings = QWebSettings.globalSettings()
@@ -1975,7 +1976,7 @@
                  "JavaScriptCanAccessClipboard", "PluginsEnabled", "DnsPrefetchEnabled",
                  "OfflineStorageDatabaseEnabled", "OfflineWebApplicationCacheEnabled",
                  "LocalStorageEnabled", "ShowPreview", "AccessKeysEnabled",
-                 "VirusTotalEnabled", "VirusTotalSecure"]:
+                 "VirusTotalEnabled", "VirusTotalSecure", "DoNotTrack"]:
         return toBool(prefClass.settings.value("Help/" + key,
             prefClass.helpDefaults[key]))
     elif key in ["AdBlockSubscriptions"]:

eric ide

mercurial