mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
* Display unresolved queries greyed-out again.
This commit is contained in:
@@ -123,6 +123,8 @@ PlaylistItemDelegate::paintDetailed( QPainter* painter, const QStyleOptionViewIt
|
|||||||
opt.text.clear();
|
opt.text.clear();
|
||||||
if ( opt.state & QStyle::State_Selected )
|
if ( opt.state & QStyle::State_Selected )
|
||||||
opt.palette.setColor( QPalette::Text, opt.palette.color( QPalette::HighlightedText ) );
|
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 );
|
qApp->style()->drawControl( QStyle::CE_ItemViewItem, &opt, painter );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user