Add version check for 5.8 search segfault workaround

This commit is contained in:
Florian Bruhin 2017-06-14 10:57:32 +02:00
parent 2ffb10badf
commit b37d040d44

View File

@ -614,6 +614,7 @@ class WebEngineTab(browsertab.AbstractTab):
def shutdown(self):
self.shutting_down.emit()
if qtutils.version_check('5.8', exact=True):
# WORKAROUND for
# https://bugreports.qt.io/browse/QTBUG-58563
self.search.clear()