Skip to content

Commit

Permalink
old qt: Drop layout unwrap workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Compiler committed Nov 4, 2020
1 parent 243f2e2 commit c067a96
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions qutebrowser/mainwindow/tabbedbrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,12 +482,6 @@ def _remove_tab(self, tab, *, add_undo=True, new_undo=True, crashed=False):
if not crashed:
# WORKAROUND for a segfault when we delete the crashed tab.
# see https://bugreports.qt.io/browse/QTBUG-58698

if not qtutils.version_check('5.12'):
# WORKAROUND for https://bugreports.qt.io/browse/QTBUG-58982
# Seems to affect Qt 5.7-5.11 as well.
tab.layout().unwrap()

tab.deleteLater()

def undo(self, depth=1):
Expand Down

0 comments on commit c067a96

Please sign in to comment.