summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qutebrowser/mainwindow/tabwidget.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/qutebrowser/mainwindow/tabwidget.py b/qutebrowser/mainwindow/tabwidget.py
index c0c7ee2ad..42c31c97e 100644
--- a/qutebrowser/mainwindow/tabwidget.py
+++ b/qutebrowser/mainwindow/tabwidget.py
@@ -801,6 +801,11 @@ class TabBarStyle(QProxyStyle):
ICON_PADDING = 4
+ def __init__(self, style=None):
+ # "useless" override as WORKAROUND for
+ # https://www.riverbankcomputing.com/pipermail/pyqt/2023-September/045510.html
+ super().__init__(style)
+
def _base_style(self) -> QStyle:
"""Get the base style."""
style = self.baseStyle()