Added a test but forgot the actual fix

This commit is contained in:
Raoul Snyman 2016-12-15 13:01:51 +02:00
parent 47f20598d5
commit bd5056fb09
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ class FingerTabBarWidget(QtWidgets.QTabBar):
:param width: Remove default width parameter in kwargs
:param height: Remove default height parameter in kwargs
"""
self.tabSize = QtWidgets.QSize(kwargs.pop('width', 100), kwargs.pop('height', 25))
self.tabSize = QtCore.QSize(kwargs.pop('width', 100), kwargs.pop('height', 25))
QtWidgets.QTabBar.__init__(self, parent, *args, **kwargs)
def paintEvent(self, event):