Use self instead of super()

This commit is contained in:
Florian Bruhin 2014-07-14 23:28:55 +02:00
parent 1f9597153e
commit 465ff7406c

View File

@ -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):