CornersAll -> AllCorners

wilder-pre-rebase
Hugo Pereira Da Costa 12 years ago
parent 0fea4e887e
commit 12082af273
  1. 2
      kstyle/breeze.h
  2. 2
      kstyle/breezehelper.cpp
  3. 4
      kstyle/breezestyle.cpp

@ -192,7 +192,7 @@ namespace Breeze
CornersBottom = CornerBottomLeft|CornerBottomRight,
CornersLeft = CornerTopLeft|CornerBottomLeft,
CornersRight = CornerTopRight|CornerBottomRight,
CornersAll = CornerTopLeft|CornerTopRight|CornerBottomLeft|CornerBottomRight
AllCorners = CornerTopLeft|CornerTopRight|CornerBottomLeft|CornerBottomRight
};
Q_DECLARE_FLAGS( Corners, Corner );

@ -1264,7 +1264,7 @@ namespace Breeze
}
if( corners == CornersAll ) {
if( corners == AllCorners ) {
path.addRoundedRect( rect, radius, radius );
return path;

@ -2735,7 +2735,7 @@ namespace Breeze
const QRect tabBarRect( tabOption->tabBarRect );
const QSize tabBarSize( tabOption->tabBarSize );
Corners corners = CornersAll;
Corners corners = AllCorners;
// adjust corners to deal with oversized tabbars
switch( tabOption->shape )
@ -3255,7 +3255,7 @@ namespace Breeze
( abstractItemView && abstractItemView->selectionBehavior() != QAbstractItemView::SelectRows ) )
{
corners = CornersAll;
corners = AllCorners;
} else {

Loading…
Cancel
Save