From: Manuel Nickschas Date: Sat, 1 Mar 2008 10:01:20 +0000 (+0000) Subject: Make highlights more visible. Color is still hardcoded though. X-Git-Tag: 0.2.0-alpha2~4 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=738bf5577d00b61f99493fdc889fd14f48fffb0b Make highlights more visible. Color is still hardcoded though. --- diff --git a/src/qtui/chatline-old.cpp b/src/qtui/chatline-old.cpp index 86c4e28e..b7ebf9b5 100644 --- a/src/qtui/chatline-old.cpp +++ b/src/qtui/chatline-old.cpp @@ -309,7 +309,7 @@ void ChatLine::draw(QPainter *p, const QPointF &pos) { } else { if(isHighlight) { p->setPen(Qt::NoPen); - p->setBrush(pal.brush(QPalette::AlternateBase)); + p->setBrush(QColor("lightcoral") /*pal.brush(QPalette::AlternateBase) */); p->drawRect(QRectF(pos, QSizeF(tsWidth + QtUi::style()->sepTsSender() + senderWidth + QtUi::style()->sepSenderText() + textWidth, height()))); } if(selectionMode == Partial) {