Make highlights more visible. Color is still hardcoded though.
authorManuel Nickschas <sputnick@quassel-irc.org>
Sat, 1 Mar 2008 10:01:20 +0000 (10:01 +0000)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 1 Mar 2008 10:01:20 +0000 (10:01 +0000)
src/qtui/chatline-old.cpp

index 86c4e28..b7ebf9b 100644 (file)
@@ -309,7 +309,7 @@ void ChatLine::draw(QPainter *p, const QPointF &pos) {
   } else {
     if(isHighlight) {
       p->setPen(Qt::NoPen);
   } 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) {
       p->drawRect(QRectF(pos, QSizeF(tsWidth + QtUi::style()->sepTsSender() + senderWidth + QtUi::style()->sepSenderText() + textWidth, height())));
     }
     if(selectionMode == Partial) {