From c7179e35cc34a883e135aa5dc4a1b9907a1a87f4 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 29 Nov 2018 19:02:36 +0100 Subject: [PATCH] Remove old code --- qutebrowser/browser/browsertab.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/qutebrowser/browser/browsertab.py b/qutebrowser/browser/browsertab.py index 1ced63fab..48d69b198 100644 --- a/qutebrowser/browser/browsertab.py +++ b/qutebrowser/browser/browsertab.py @@ -349,13 +349,6 @@ class AbstractZoom(QObject): config.instance.changed.connect(self._on_config_changed) self._zoom_factor = float(config.val.zoom.default) / 100 - # # FIXME:qtwebengine is this needed? - # # For some reason, this signal doesn't get disconnected automatically - # # when the WebView is destroyed on older PyQt versions. - # # See https://github.com/qutebrowser/qutebrowser/issues/390 - # self.destroyed.connect(functools.partial( - # cfg.changed.disconnect, self.init_neighborlist)) - @pyqtSlot(str) def _on_config_changed(self, option: str) -> None: if option in ['zoom.levels', 'zoom.default']: