do not draw rounded corners

This commit is contained in:
iLLiCiTiT 2021-11-18 11:16:08 +01:00
parent 127845e21a
commit b722d180e2

View file

@ -169,7 +169,7 @@ class UnderlinesAssetDelegate(QtWidgets.QItemDelegate):
pen.setWidth(0)
painter.setPen(pen)
painter.setBrush(QtGui.QBrush(bg_color))
painter.drawRoundedRect(option.rect, 3, 3)
painter.drawRect(option.rect)
if option.state & QtWidgets.QStyle.State_Selected:
for color, subset_rect in subset_rects: