Preferences/__init__.py

branch
safe_browsing
changeset 5829
d3448873ced3
parent 5808
7bf90dcae4e1
child 5837
9ef6a28f1694
--- a/Preferences/__init__.py	Sun Jul 30 19:56:04 2017 +0200
+++ b/Preferences/__init__.py	Fri Aug 04 18:38:45 2017 +0200
@@ -1122,6 +1122,7 @@
         # Google Safe Browsing
         "SafeBrowsingEnabled": True,
         "SafeBrowsingApiKey": "",       # API key
+        "SafeBrowsingFilterPlatform": True,
     }
     if QWebEngineSettings:
         webBrowserDefaults["HelpViewerType"] = 1      # eric browser
@@ -2922,7 +2923,7 @@
                  "SpellCheckEnabled", "ShowToolbars", "MenuBarVisible",
                  "BookmarksToolBarVisible", "StatusBarVisible",
                  "SessionAutoSave", "LoadTabOnActivation",
-                 "SafeBrowsingEnabled",
+                 "SafeBrowsingEnabled", "SafeBrowsingFilterPlatform",
                  ]:
         return toBool(prefClass.settings.value(
             "WebBrowser/" + key, prefClass.webBrowserDefaults[key]))

eric ide

mercurial