diff --git a/qutebrowser/config/config.py b/qutebrowser/config/config.py index 191ed96bc..513d9ab74 100644 --- a/qutebrowser/config/config.py +++ b/qutebrowser/config/config.py @@ -45,6 +45,7 @@ cmd_history = None WEBSETTINGS_MAPPING = { + # noqa 'auto_load_images': QWebSettings.AutoLoadImages, 'dns_prefetch_enabled': QWebSettings.DnsPrefetchEnabled, 'javascript_enabled': QWebSettings.JavascriptEnabled, @@ -108,6 +109,7 @@ def init(configdir): ('general', 'cmd_histlen')) init_qwebsettings() + def init_qwebsettings(): """Initialize the global QWebSettings.""" settings = QWebSettings.globalSettings() diff --git a/qutebrowser/config/configdata.py b/qutebrowser/config/configdata.py index 95ef31b20..e81913462 100644 --- a/qutebrowser/config/configdata.py +++ b/qutebrowser/config/configdata.py @@ -283,8 +283,8 @@ def configdata(): #('tiled_backing_store_enabled', # SettingValue(types.Bool, "false"), # "This setting enables the tiled backing store feature for a " - # "QGraphicsWebView. With the tiled backing store enabled, the web " - # "page contents in and around the current visible area is " + # "QGraphicsWebView. With the tiled backing store enabled, the " + # "web page contents in and around the current visible area is " # "speculatively cached to bitmap tiles. The tiles are " # "automatically kept in sync with the web page as it changes. " # "Enabling tiling can significantly speed up painting heavy "