Pass url as second argument to slot

This commit is contained in:
cauimsouza 2018-09-05 02:24:15 +02:00
parent d324448039
commit fc1d192880

View File

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