Skip to content

Commit 19af163

Browse files
committed
qtvcp -tab_widget: fix float/int error with new libraries
New libraries will not automatically convert float to int
1 parent d9fd333 commit 19af163

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/python/qtvcp/widgets/tab_widget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ def __init__(self, parent=None, size=1.5):
4040
def tabSizeHint(self, index):
4141
size = QTabBar.tabSizeHint(self, index)
4242
w = size.height()*self._size
43-
return QSize(size.width(), w)
43+
return QSize(size.width(), int(w))
4444

0 commit comments

Comments
 (0)