1
0
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:
Jeff Mitchell 2012-06-20 16:19:16 -04:00
parent ba897efada
commit 5dfe460f9d

View File

@ -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 ) );