From: Flavio Tordini Date: Mon, 10 Aug 2009 15:56:36 +0000 (+0200) Subject: Fixed author text color for active item X-Git-Tag: 0.6~69 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eeddbf12c9a40c8c1c7426ba35f760c314646246;p=minitube Fixed author text color for active item --- diff --git a/src/playlist/PrettyItemDelegate.cpp b/src/playlist/PrettyItemDelegate.cpp index 7954016..fff8ebe 100644 --- a/src/playlist/PrettyItemDelegate.cpp +++ b/src/playlist/PrettyItemDelegate.cpp @@ -106,7 +106,7 @@ void PrettyItemDelegate::paintBody( QPainter* painter, // author painter->save(); painter->setFont(smallerBoldFont); - if (!isSelected) + if (!isSelected && !isActive) painter->setPen(QPen(option.palette.brush(QPalette::Mid), 0)); QString authorString = video->author(); QSizeF authorStringSize(QFontMetrics(painter->font()).size( Qt::TextSingleLine, authorString ) );