From d6344ea7073283250bb62cda7261331a53cf1132 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 14 Jun 2013 11:52:17 +0200 Subject: [PATCH] * Use QPalette::Foreground for drawing AlbumItemDelegate's position figure. --- src/libtomahawk/playlist/AlbumItemDelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/playlist/AlbumItemDelegate.cpp b/src/libtomahawk/playlist/AlbumItemDelegate.cpp index 746f95226..fa86e6d08 100644 --- a/src/libtomahawk/playlist/AlbumItemDelegate.cpp +++ b/src/libtomahawk/playlist/AlbumItemDelegate.cpp @@ -94,7 +94,7 @@ AlbumItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option, } painter->setFont( m_bigBoldFont ); - painter->setPen( option.palette.text().color().lighter( 450 ) ); + painter->setPen( opt.palette.foreground().color() ); QRect leftRect = r; QRect figureRect = r.adjusted( 4, 0, 0, 0 );