From 2b6b18d7bffbe6abe80a0edc13d6c732f96cd2f4 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 6 Feb 2017 21:33:08 +0100 Subject: [PATCH] Fix lint --- doc/help/settings.asciidoc | 3 +-- qutebrowser/browser/webengine/webenginetab.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc index 8e25e2a93..04424d3aa 100644 --- a/doc/help/settings.asciidoc +++ b/doc/help/settings.asciidoc @@ -421,6 +421,7 @@ This setting is only available with the QtWebKit backend. [[general-print-element-backgrounds]] === print-element-backgrounds Whether the background color and images are also drawn when the page is printed. +This setting only works with Qt 5.8 or newer when using the QtWebEngine backend. Valid values: @@ -429,8 +430,6 @@ Valid values: Default: +pass:[true]+ -This setting is only available with the QtWebKit backend. - [[general-xss-auditing]] === xss-auditing Whether load requests should be monitored for cross-site scripting attempts. diff --git a/qutebrowser/browser/webengine/webenginetab.py b/qutebrowser/browser/webengine/webenginetab.py index 36ca4bb5d..6a7dbae91 100644 --- a/qutebrowser/browser/webengine/webenginetab.py +++ b/qutebrowser/browser/webengine/webenginetab.py @@ -700,7 +700,7 @@ class WebEngineTab(browsertab.AbstractTab): view.titleChanged.connect(self.title_changed) view.urlChanged.connect(self._on_url_changed) view.renderProcessTerminated.connect( - self._on_render_process_terminated) + self._on_render_process_terminated) try: view.iconChanged.connect(self.icon_changed) except AttributeError: