mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-25 02:09:48 +01:00
Keep Remove button size in accounts delegate same as Add
This commit is contained in:
parent
fb5d21e401
commit
098183ddca
@ -281,7 +281,10 @@ AccountDelegate::paint ( QPainter* painter, const QStyleOptionViewItem& option,
|
||||
btnRect = QRect( opt.rect.right() - PADDING - btnWidth, center - ( installMetrics.height() + 4 ) / 2, btnWidth, installMetrics.height() + 2*PADDING );
|
||||
|
||||
#ifdef Q_WS_MAC
|
||||
btnRect.adjust( -4, 2, 4, -2 );
|
||||
btnRect.adjust( -4, 0, 4, 0 );
|
||||
|
||||
if ( hasConfigWrench )
|
||||
btnRect.moveTop( btnRect.top() + 2 );
|
||||
#endif
|
||||
leftEdge = btnRect.left();
|
||||
m_cachedButtonRects[ index ] = btnRect;
|
||||
|
Loading…
x
Reference in New Issue
Block a user