mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-02-22 19:05:05 +01:00
Accounts delegate fixes: padding and status text font.
This commit is contained in:
parent
5530d58997
commit
ae2ef735ed
@ -242,7 +242,8 @@ AccountDelegate::paint ( QPainter* painter, const QStyleOptionViewItem& option,
|
||||
{
|
||||
Q_ASSERT( accts.size() == 1 );
|
||||
|
||||
rightEdge = drawStatus( painter, QPointF( rightEdge, center - painter->fontMetrics().height()/2 ), accts.first(), true );
|
||||
painter->setFont( installFont );
|
||||
rightEdge = drawStatus( painter, QPointF( rightEdge - PADDING, center - painter->fontMetrics().height()/2 ), accts.first(), true );
|
||||
}
|
||||
}
|
||||
else if ( canDelete )
|
||||
|
Loading…
x
Reference in New Issue
Block a user