diff --git a/qutebrowser/browser/webengine/webenginetab.py b/qutebrowser/browser/webengine/webenginetab.py index 33f91850a..e3e8520c2 100644 --- a/qutebrowser/browser/webengine/webenginetab.py +++ b/qutebrowser/browser/webengine/webenginetab.py @@ -652,8 +652,8 @@ class WebEngineAudio(browsertab.AbstractAudio): page = self._widget.page() return page.recentlyAudible() - def _on_url_changed(self): - url = self._tab.url() + @pyqtSlot(QUrl) + def _on_url_changed(self, url): is_audible = config.instance.get('content.audible_default', url=url) self.set_muted(not is_audible)