fix access to 'CE_ItemViewItem' constant

This commit is contained in:
Jakub Trllo 2023-01-16 18:02:20 +01:00
parent 2546274c55
commit 459ed76ae2

View file

@ -54,7 +54,10 @@ class VersionDelegate(QtWidgets.QStyledItemDelegate):
style = QtWidgets.QApplication.style()
style.drawControl(
style.CE_ItemViewItem, option, painter, option.widget
QtWidgets.QStyle.CE_ItemViewItem,
option,
painter,
option.widget
)
painter.save()