chatgui: AccountDelegate — palette-consistent colors (light/alternateBase instead of hardcoded)

This commit is contained in:
Evgeny committed 2026-07-26 07:43:01 +03:00
1 parent 77d89b841a
commit 12904a97e0
1 file changed
+2 -2
+2 -2
View File
@@ -13,9 +13,9 @@ void AccountDelegate::paint(QPainter *painter, const QStyleOptionViewItem &optio
if (option.state & QStyle::State_Selected)
painter->fillRect(option.rect, option.palette.highlight());
else if (option.state & QStyle::State_MouseOver)
painter->fillRect(option.rect, QColor(240, 240, 240));
painter->fillRect(option.rect, option.palette.light());
else
painter->fillRect(option.rect, option.palette.base());
painter->fillRect(option.rect, option.palette.alternateBase());
const int margin = 4;
const int iconSz = 24;