mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-11 03:21:52 +02:00
* Try different highlight color for now-playing items.
This commit is contained in:
parent
e3daa8c2d5
commit
d4c68ddd27
@ -118,7 +118,10 @@ PlaylistItemDelegate::paintDetailed( QPainter* painter, const QStyleOptionViewIt
|
||||
initStyleOption( &opt, index );
|
||||
|
||||
if ( item->isPlaying() )
|
||||
{
|
||||
opt.palette.setColor( QPalette::Highlight, opt.palette.color( QPalette::Mid ) );
|
||||
opt.state |= QStyle::State_Selected;
|
||||
}
|
||||
if ( item->isPlaying() || index.column() == TrackModel::Score )
|
||||
opt.text.clear();
|
||||
if ( opt.state & QStyle::State_Selected )
|
||||
|
Loading…
x
Reference in New Issue
Block a user