mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix access to 'CE_ItemViewItem' constant
This commit is contained in:
parent
2546274c55
commit
459ed76ae2
1 changed files with 4 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue