Skip to content

Commit

Permalink
Remove unused parameters (#829)
Browse files Browse the repository at this point in the history
* Update highlight.py
  • Loading branch information
SpencerIsGiddy authored Feb 5, 2023
1 parent e44e146 commit 5cdbd61
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ui/opensnitch/actions/highlight.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,7 @@ def run(self, args):
style,
painter,
option,
index,
defaultPen,
defaultBrush,
cellAlignment,
cellRect,
cellColor,
Expand Down Expand Up @@ -197,7 +195,7 @@ def run(self, args):

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()
Expand Down

0 comments on commit 5cdbd61

Please # to comment.