1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-19 15:29:42 +01:00

* No special treatment for script collections.

This commit is contained in:
Christian Muehlhaeuser 2014-08-21 15:14:15 +02:00
parent 2dc50ebc3b
commit 690c25a929

View File

@ -304,8 +304,8 @@ SourceDelegate::paintCollection( QPainter* painter, const QStyleOptionViewItem&
if ( type == SourcesModel::ScriptCollection && //you cannot select a non-script collection anyway
option.state.testFlag( QStyle::State_Selected ) )
{
painter->setPen( option.palette.color( QPalette::HighlightedText ) );
descColor = option.palette.color( QPalette::HighlightedText );
// painter->setPen( option.palette.color( QPalette::HighlightedText ) );
// descColor = option.palette.color( QPalette::HighlightedText );
}
QRect textRect = option.rect.adjusted( iconRect.width() + 28, 6, -figWidth - ( figWidth ? 28 : 0 ), 0 );