mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
Fix positioning...moveLeft/Right don't do what you think they do...
This commit is contained in:
parent
ba897efada
commit
5dfe460f9d
@ -93,8 +93,8 @@ AclJobDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option, co
|
||||
|
||||
if ( allowBtnRect.right() >= denyBtnRect.left() )
|
||||
{
|
||||
allowBtnRect.moveLeft( minPixels / 2 );
|
||||
denyBtnRect.moveRight( minPixels / 2 );
|
||||
allowBtnRect.moveLeft( allowBtnRect.left() - minPixels / 2 );
|
||||
denyBtnRect.moveLeft( denyBtnRect.left() + minPixels / 2 );
|
||||
}
|
||||
|
||||
drawRoundedButton( painter, allowBtnRect, allowBtnRect.contains( m_savedHoverPos ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user