From 965a9b61538c419dff05b9c10eb0a3776f9f4b90 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser <muesli@gmail.com> Date: Mon, 21 May 2012 04:41:22 +0200 Subject: [PATCH] * Consistent color for duration in PlaylistItemDelegate. --- src/libtomahawk/playlist/PlaylistLargeItemDelegate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libtomahawk/playlist/PlaylistLargeItemDelegate.cpp b/src/libtomahawk/playlist/PlaylistLargeItemDelegate.cpp index e8c269419..ab03f9754 100644 --- a/src/libtomahawk/playlist/PlaylistLargeItemDelegate.cpp +++ b/src/libtomahawk/playlist/PlaylistLargeItemDelegate.cpp @@ -239,6 +239,7 @@ PlaylistLargeItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem& if ( duration > 0 ) { + painter->setPen( opt.palette.text().color() ); painter->setFont( smallBoldFont ); text = painter->fontMetrics().elidedText( TomahawkUtils::timeToString( duration ), Qt::ElideRight, rightRect.width() ); painter->drawText( rightRect, text, m_centerRightOption );