Remove unused parameters (#829)

* Update highlight.py
This commit is contained in:
Spencer Comfort 2023-02-05 16:14:45 -05:00 committed by GitHub
parent e44e1468b8
commit 5cdbd6182a
Failed to generate hash of commit

View file

@ -141,9 +141,7 @@ class Highlight():
style,
painter,
option,
index,
defaultPen,
defaultBrush,
cellAlignment,
cellRect,
cellColor,
@ -197,7 +195,7 @@ class Highlight():
return (modified,)
def paintCell(self, style, painter, option, index, defaultPen, defaultBrush, cellAlignment, cellRect, cellColor, cellBgColor, cellValue):
def paintCell(self, style, painter, option, defaultPen, cellAlignment, cellRect, cellColor, cellBgColor, cellValue):
cellSelected = option.state & QStyle.State_Selected
painter.save()