Add version check for 5.8 search segfault workaround
This commit is contained in:
parent
2ffb10badf
commit
b37d040d44
@ -614,9 +614,10 @@ class WebEngineTab(browsertab.AbstractTab):
|
|||||||
|
|
||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
self.shutting_down.emit()
|
self.shutting_down.emit()
|
||||||
# WORKAROUND for
|
if qtutils.version_check('5.8', exact=True):
|
||||||
# https://bugreports.qt.io/browse/QTBUG-58563
|
# WORKAROUND for
|
||||||
self.search.clear()
|
# https://bugreports.qt.io/browse/QTBUG-58563
|
||||||
|
self.search.clear()
|
||||||
self._widget.shutdown()
|
self._widget.shutdown()
|
||||||
|
|
||||||
def reload(self, *, force=False):
|
def reload(self, *, force=False):
|
||||||
|
Loading…
Reference in New Issue
Block a user