mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 00:24:12 +02:00
Accounts delegate fixes: padding and status text font.
This commit is contained in:
@@ -242,7 +242,8 @@ AccountDelegate::paint ( QPainter* painter, const QStyleOptionViewItem& option,
|
|||||||
{
|
{
|
||||||
Q_ASSERT( accts.size() == 1 );
|
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 )
|
else if ( canDelete )
|
||||||
|
Reference in New Issue
Block a user