mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 23:26:40 +02:00
* Fixed TWK-699: Don't paint now playing icon over item decoration.
This commit is contained in:
@@ -515,6 +515,9 @@ SourceDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option, co
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
o.state &= ~QStyle::State_MouseOver;
|
o.state &= ~QStyle::State_MouseOver;
|
||||||
|
if ( !index.parent().parent().isValid() )
|
||||||
|
o.rect.adjust( 7, 0, 0, 0 );
|
||||||
|
|
||||||
QStyledItemDelegate::paint( painter, o, index );
|
QStyledItemDelegate::paint( painter, o, index );
|
||||||
|
|
||||||
if ( type == SourcesModel::TemporaryPage )
|
if ( type == SourcesModel::TemporaryPage )
|
||||||
|
Reference in New Issue
Block a user