mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 00:09:47 +01:00
* Make sure we paint white text on covers.
This commit is contained in:
parent
9a1558f1e9
commit
5a52586945
@ -194,9 +194,9 @@ GridItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
|
||||
painter->drawRect( gradientRect );
|
||||
painter->restore();
|
||||
|
||||
painter->setPen( opt.palette.color( QPalette::HighlightedText ) );
|
||||
painter->setPen( Qt::white );
|
||||
|
||||
QRect textRect = option.rect.adjusted( 6, option.rect.height() - frameHeight, -4, -6 );
|
||||
QRect textRect = option.rect.adjusted( 6, option.rect.height() - frameHeight, -6, -6 );
|
||||
bool oneLiner = false;
|
||||
if ( bottom.isEmpty() )
|
||||
oneLiner = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user