]> git.sur5r.net Git - minitube/commitdiff
Fixed author text color for active item
authorFlavio Tordini <flavio.tordini@gmail.com>
Mon, 10 Aug 2009 15:56:36 +0000 (17:56 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Mon, 10 Aug 2009 15:56:36 +0000 (17:56 +0200)
src/playlist/PrettyItemDelegate.cpp

index 7954016ee7eb992f31fd5543a6567ce13805c386..fff8ebe05bbb0dfcf6b506ec92c2d946a2d96ee9 100644 (file)
@@ -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 ) );