Lint fixes

This commit is contained in:
Florian Bruhin 2014-04-16 14:14:37 +02:00
parent 2adcde1c89
commit 03227c2b41
2 changed files with 4 additions and 2 deletions

View File

@ -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()

View File

@ -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 "