mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Fix positioning...moveLeft/Right don't do what you think they do...
This commit is contained in:
@@ -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 ) );
|
||||
|
Reference in New Issue
Block a user