From 690c25a929c0f66a829494392fc553d057165f64 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 21 Aug 2014 15:14:15 +0200 Subject: [PATCH] * No special treatment for script collections. --- src/tomahawk/sourcetree/SourceDelegate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tomahawk/sourcetree/SourceDelegate.cpp b/src/tomahawk/sourcetree/SourceDelegate.cpp index 7e77e9dac..be05577a9 100644 --- a/src/tomahawk/sourcetree/SourceDelegate.cpp +++ b/src/tomahawk/sourcetree/SourceDelegate.cpp @@ -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 );