1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-14 04:51:53 +02:00

* Display unresolved queries greyed-out again.

This commit is contained in:
Christian Muehlhaeuser 2011-06-12 19:06:38 +02:00
parent 13d758d3eb
commit e3daa8c2d5

@ -123,6 +123,8 @@ PlaylistItemDelegate::paintDetailed( QPainter* painter, const QStyleOptionViewIt
opt.text.clear();
if ( opt.state & QStyle::State_Selected )
opt.palette.setColor( QPalette::Text, opt.palette.color( QPalette::HighlightedText ) );
else
opt.palette.setColor( QPalette::Text, textColor );
qApp->style()->drawControl( QStyle::CE_ItemViewItem, &opt, painter );