Preferences/__init__.py

changeset 978
11f8adbcac97
parent 952
cc3e2e5558e9
child 992
566e87428fc8
diff -r 7a523bd4b00d -r 11f8adbcac97 Preferences/__init__.py
--- a/Preferences/__init__.py	Sat Apr 09 15:20:53 2011 +0200
+++ b/Preferences/__init__.py	Sun Apr 10 18:33:20 2011 +0200
@@ -629,7 +629,10 @@
         "DownloadManagerSize": QtCore.QSize(400, 300),
         "DownloadManagerPosition": QtCore.QPoint(),
         "DownloadManagerDownloads": [],
-        "AccessKeysEnabled": True, 
+        "AccessKeysEnabled": True,
+        "VirusTotalEnabled": False,
+        "VirusTotalServiceKey": "",
+        "VirusTotalSecure": False,
     }
     
     websettings = QWebSettings.globalSettings()
@@ -1937,7 +1940,8 @@
                  "JavaEnabled", "JavaScriptEnabled", "JavaScriptCanOpenWindows",
                  "JavaScriptCanAccessClipboard", "PluginsEnabled", "DnsPrefetchEnabled",
                  "OfflineStorageDatabaseEnabled", "OfflineWebApplicationCacheEnabled",
-                 "LocalStorageEnabled", "ShowPreview", "AccessKeysEnabled"]:
+                 "LocalStorageEnabled", "ShowPreview", "AccessKeysEnabled",
+                 "VirusTotalEnabled", "VirusTotalSecure"]:
         return toBool(prefClass.settings.value("Help/" + key,
             prefClass.helpDefaults[key]))
     elif key in ["AdBlockSubscriptions"]:

eric ide

mercurial