From 5cdbd6182a6d6f569664dea9d84ae5df1dca84e4 Mon Sep 17 00:00:00 2001 From: Spencer Comfort <109806759+GiddyGoatGaming@users.noreply.github.com> Date: Sun, 5 Feb 2023 16:14:45 -0500 Subject: [PATCH] Remove unused parameters (#829) * Update highlight.py --- ui/opensnitch/actions/highlight.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/opensnitch/actions/highlight.py b/ui/opensnitch/actions/highlight.py index bc651510b3..521713dada 100644 --- a/ui/opensnitch/actions/highlight.py +++ b/ui/opensnitch/actions/highlight.py @@ -141,9 +141,7 @@ def run(self, args): style, painter, option, - index, defaultPen, - defaultBrush, cellAlignment, cellRect, cellColor, @@ -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()