forked from openlp/openlp
Added a test but forgot the actual fix
This commit is contained in:
parent
47f20598d5
commit
bd5056fb09
@ -173,7 +173,7 @@ class FingerTabBarWidget(QtWidgets.QTabBar):
|
|||||||
:param width: Remove default width parameter in kwargs
|
:param width: Remove default width parameter in kwargs
|
||||||
:param height: Remove default height 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)
|
QtWidgets.QTabBar.__init__(self, parent, *args, **kwargs)
|
||||||
|
|
||||||
def paintEvent(self, event):
|
def paintEvent(self, event):
|
||||||
|
Loading…
Reference in New Issue
Block a user