--- a/Preferences/__init__.py Sat Mar 05 14:34:49 2016 +0100 +++ b/Preferences/__init__.py Sat Mar 05 16:44:41 2016 +0100 @@ -1030,6 +1030,8 @@ "ShowPreview": True, "WebInspectorPort": 42024, "WebInspectorEnabled": False, + "DiskCacheEnabled": True, + "DiskCacheSize": 50, # 50 MB # Grease Monkey "GreaseMonkeyDisabledScripts": [], # Downloads @@ -2775,7 +2777,7 @@ ## if QWebSettings is None: ## value = prefClass.helpDefaults[key] ## return value -## elif key in ["DiskCacheSize", "AcceptCookies", +## elif key in ["AcceptCookies", ## "KeepCookiesUntil", "StartupBehavior", ## "OfflineStorageDatabaseQuota", ## "OfflineWebApplicationCacheQuota", "CachePolicy", @@ -2787,7 +2789,7 @@ "SearchLanguage", "WebInspectorPort", "DefaultFontSize", "DefaultFixedFontSize", "MinimumFontSize", "MinimumLogicalFontSize", - ]: + "DiskCacheSize", ]: return int(prefClass.settings.value( "WebBrowser/" + key, prefClass.webBrowserDefaults[key])) ## elif key in ["DiskCacheEnabled", "FilterTrackingCookies", @@ -2813,7 +2815,7 @@ "SyncEnabled", "SyncBookmarks", "SyncHistory", "SyncPasswords", "SyncUserAgents", "SyncSpeedDial", "SyncEncryptData", "SyncEncryptPasswordsOnly", - "ShowPreview", "WebInspectorEnabled", + "ShowPreview", "WebInspectorEnabled", "DiskCacheEnabled", ]: return toBool(prefClass.settings.value( "WebBrowser/" + key, prefClass.webBrowserDefaults[key]))