Lint fixes
This commit is contained in:
parent
2adcde1c89
commit
03227c2b41
@ -45,6 +45,7 @@ cmd_history = None
|
|||||||
|
|
||||||
|
|
||||||
WEBSETTINGS_MAPPING = {
|
WEBSETTINGS_MAPPING = {
|
||||||
|
# noqa
|
||||||
'auto_load_images': QWebSettings.AutoLoadImages,
|
'auto_load_images': QWebSettings.AutoLoadImages,
|
||||||
'dns_prefetch_enabled': QWebSettings.DnsPrefetchEnabled,
|
'dns_prefetch_enabled': QWebSettings.DnsPrefetchEnabled,
|
||||||
'javascript_enabled': QWebSettings.JavascriptEnabled,
|
'javascript_enabled': QWebSettings.JavascriptEnabled,
|
||||||
@ -108,6 +109,7 @@ def init(configdir):
|
|||||||
('general', 'cmd_histlen'))
|
('general', 'cmd_histlen'))
|
||||||
init_qwebsettings()
|
init_qwebsettings()
|
||||||
|
|
||||||
|
|
||||||
def init_qwebsettings():
|
def init_qwebsettings():
|
||||||
"""Initialize the global QWebSettings."""
|
"""Initialize the global QWebSettings."""
|
||||||
settings = QWebSettings.globalSettings()
|
settings = QWebSettings.globalSettings()
|
||||||
|
@ -283,8 +283,8 @@ def configdata():
|
|||||||
#('tiled_backing_store_enabled',
|
#('tiled_backing_store_enabled',
|
||||||
# SettingValue(types.Bool, "false"),
|
# SettingValue(types.Bool, "false"),
|
||||||
# "This setting enables the tiled backing store feature for a "
|
# "This setting enables the tiled backing store feature for a "
|
||||||
# "QGraphicsWebView. With the tiled backing store enabled, the web "
|
# "QGraphicsWebView. With the tiled backing store enabled, the "
|
||||||
# "page contents in and around the current visible area is "
|
# "web page contents in and around the current visible area is "
|
||||||
# "speculatively cached to bitmap tiles. The tiles are "
|
# "speculatively cached to bitmap tiles. The tiles are "
|
||||||
# "automatically kept in sync with the web page as it changes. "
|
# "automatically kept in sync with the web page as it changes. "
|
||||||
# "Enabling tiling can significantly speed up painting heavy "
|
# "Enabling tiling can significantly speed up painting heavy "
|
||||||
|
Loading…
Reference in New Issue
Block a user