Use text colour for LED border

This commit is contained in:
Veronica Berglyd Olsen
2024-07-05 15:16:58 +02:00
parent 446163c6de
commit 08e6d320df
+1 -1
View File
@@ -82,7 +82,7 @@ class StatusLED(QAbstractButton):
"""Draw the LED."""
painter = QPainter(self)
painter.setRenderHint(QtPaintAnitAlias, True)
painter.setPen(self.palette().mid().color())
painter.setPen(self.palette().windowText().color())
painter.setBrush(self._color)
painter.setOpacity(1.0)
painter.drawEllipse(