From ea4ee6f00b35d83339becc08b4596c5e53f880a4 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 26 Jun 2018 10:39:33 +0200 Subject: [PATCH] Use the url_changed signal in the tab API --- qutebrowser/browser/webengine/webenginetab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/browser/webengine/webenginetab.py b/qutebrowser/browser/webengine/webenginetab.py index 3fc4806cd..799eb7c24 100644 --- a/qutebrowser/browser/webengine/webenginetab.py +++ b/qutebrowser/browser/webengine/webenginetab.py @@ -858,7 +858,7 @@ class _WebEngineScripts(QObject): # Qt 5.8. With 5.7.1, we need to inject the scripts ourselves in # response to urlChanged. if not qtutils.version_check('5.8'): - self._widget.page().urlChanged.connect( + self._tab.url_changed.connect( self._inject_greasemonkey_scripts_for_url) else: self._greasemonkey.scripts_reloaded.connect(