From 12904a97e0bfbb095ef0c7c82a52ad3a5028421a Mon Sep 17 00:00:00 2001 From: Evgeny Date: Sun, 26 Jul 2026 07:43:01 +0300 Subject: [PATCH] =?UTF-8?q?chatgui:=20AccountDelegate=20=E2=80=94=20palett?= =?UTF-8?q?e-consistent=20colors=20(light/alternateBase=20instead=20of=20h?= =?UTF-8?q?ardcoded)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/chatgui/src/accountdelegate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/chatgui/src/accountdelegate.cpp b/tools/chatgui/src/accountdelegate.cpp index 81394ecf..fb8750bd 100644 --- a/tools/chatgui/src/accountdelegate.cpp +++ b/tools/chatgui/src/accountdelegate.cpp @@ -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;