diff --git a/qutebrowser/browser/webengine/webenginetab.py b/qutebrowser/browser/webengine/webenginetab.py index 773404be9..9e27805c7 100644 --- a/qutebrowser/browser/webengine/webenginetab.py +++ b/qutebrowser/browser/webengine/webenginetab.py @@ -614,9 +614,10 @@ class WebEngineTab(browsertab.AbstractTab): def shutdown(self): self.shutting_down.emit() - # WORKAROUND for - # https://bugreports.qt.io/browse/QTBUG-58563 - self.search.clear() + if qtutils.version_check('5.8', exact=True): + # WORKAROUND for + # https://bugreports.qt.io/browse/QTBUG-58563 + self.search.clear() self._widget.shutdown() def reload(self, *, force=False):