From eeddbf12c9a40c8c1c7426ba35f760c314646246 Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Mon, 10 Aug 2009 17:56:36 +0200 Subject: [PATCH] Fixed author text color for active item --- src/playlist/PrettyItemDelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ); -- 2.39.5