disable mouseOver effect for arrow tool buttons

wilder-pre-rebase
Hugo Pereira Da Costa 12 years ago
parent 4abb699e63
commit 835fdf32d6
  1. 4
      kstyle/breezestyle.cpp

@ -4685,6 +4685,10 @@ namespace Breeze
contentsRect = insideMargin( contentsRect, marginWidth );
if( hasInlineIndicator ) contentsRect.setRight( contentsRect.right() - Metrics::ToolButton_BoxTextSpace );
// disable mouse over in case of arrow buttons
if( toolButtonOption->features & QStyleOptionToolButton::Arrow )
{ copy.state &= ~State_MouseOver; }
}
copy.rect = contentsRect;

Loading…
Cancel
Save