Use self instead of super()
This commit is contained in:
parent
1f9597153e
commit
465ff7406c
@ -141,7 +141,7 @@ class TabBar(QTabBar):
|
||||
Return:
|
||||
A QSize.
|
||||
"""
|
||||
height = super().tabSizeHint(index).height()
|
||||
height = self.tabSizeHint(index).height()
|
||||
return QSize(1, height)
|
||||
|
||||
def tabSizeHint(self, _index):
|
||||
|
Loading…
Reference in New Issue
Block a user