use NoPen instead of transparent

This commit is contained in:
Jakub Trllo 2025-02-11 17:13:25 +01:00
parent 6a57b4c450
commit 21187bb28c

View file

@ -383,7 +383,7 @@ class NiceCheckbox(QtWidgets.QFrame):
else:
radius = floor(checkbox_rect.width() * 0.5)
painter.setPen(QtCore.Qt.transparent)
painter.setPen(QtCore.Qt.NoPen)
painter.setBrush(bg_color)
painter.drawRoundedRect(checkbox_rect, radius, radius)