1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-05 13:47:26 +02:00

* Fixed foreground color.

This commit is contained in:
Christian Muehlhaeuser
2013-04-16 10:59:23 +02:00
parent 81dc2fe1fa
commit fdf1ddc61a

View File

@@ -235,7 +235,7 @@ SourceDelegate::paintCollection( QPainter* painter, const QStyleOptionViewItem&
painter->drawText( textRect, text, to ); painter->drawText( textRect, text, to );
} }
QColor descColor = option.palette.color( QPalette::HighlightedText ).lighter( 220 ); QColor descColor = option.palette.color( QPalette::Text ).lighter( 220 );
if ( type == SourcesModel::ScriptCollection && //you cannot select a non-script collection anyway if ( type == SourcesModel::ScriptCollection && //you cannot select a non-script collection anyway
option.state.testFlag( QStyle::State_Selected ) ) option.state.testFlag( QStyle::State_Selected ) )
{ {