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;