mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
removed unused code
This commit is contained in:
parent
ac6694f7f4
commit
c642c4a22a
1 changed files with 1 additions and 5 deletions
|
|
@ -110,6 +110,7 @@ class ListItemDelegate(QtWidgets.QStyledItemDelegate):
|
|||
painter.setRenderHints(
|
||||
painter.Antialiasing
|
||||
| painter.SmoothPixmapTransform
|
||||
| painter.TextAntialiasing
|
||||
)
|
||||
painter.save()
|
||||
painter.setClipRect(expander_rect)
|
||||
|
|
@ -122,11 +123,6 @@ class ListItemDelegate(QtWidgets.QStyledItemDelegate):
|
|||
painter.restore()
|
||||
|
||||
# Draw text and icon
|
||||
widget = option.widget
|
||||
if widget:
|
||||
style = widget.style()
|
||||
else:
|
||||
style = QtWidgets.QApplication.style()
|
||||
font = index.data(QtCore.Qt.FontRole)
|
||||
if not font:
|
||||
font = option.font
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue