Disable renderer process crash workaround on Qt 5.9
This commit is contained in:
parent
2a4af0666b
commit
a320aa5ef7
@ -673,11 +673,11 @@ class TabbedBrowser(tabwidget.TabWidget):
|
||||
else:
|
||||
raise ValueError("Invalid status {}".format(status))
|
||||
|
||||
# WORKAROUND for https://bugreports.qt.io/browse/QTBUG-58698
|
||||
# FIXME:qtwebengine can we disable this with Qt 5.8.1?
|
||||
self._remove_tab(tab, crashed=True)
|
||||
if self.count() == 0:
|
||||
self.tabopen(QUrl('about:blank'))
|
||||
if not qtutils.version_check('5.9'):
|
||||
# WORKAROUND for https://bugreports.qt.io/browse/QTBUG-58698
|
||||
self._remove_tab(tab, crashed=True)
|
||||
if self.count() == 0:
|
||||
self.tabopen(QUrl('about:blank'))
|
||||
|
||||
def resizeEvent(self, e):
|
||||
"""Extend resizeEvent of QWidget to emit a resized signal afterwards.
|
||||
|
Loading…
Reference in New Issue
Block a user