Commit 020cfd14 authored by Jan Blackquill's avatar Jan Blackquill 🌈
Browse files

[kstyle] Don't adjust menu corner radii by -1

parent 923883a3
...@@ -482,7 +482,7 @@ namespace Breeze ...@@ -482,7 +482,7 @@ namespace Breeze
QRectF copy( strokedRect( rect ) ); QRectF copy( strokedRect( rect ) );
const qreal radius( frameRadius( PenWidth::Frame, -1 ) ); const qreal radius( frameRadius( PenWidth::Frame ) );
if( !(sides&SideTop) ) copy.adjust( 0, -radius, 0, 0 ); if( !(sides&SideTop) ) copy.adjust( 0, -radius, 0, 0 );
if( !(sides&SideBottom) ) copy.adjust( 0, 0, 0, radius ); if( !(sides&SideBottom) ) copy.adjust( 0, 0, 0, radius );
if( !(sides&SideLeft) ) copy.adjust( -radius, 0, 0, 0 ); if( !(sides&SideLeft) ) copy.adjust( -radius, 0, 0, 0 );
...@@ -621,7 +621,7 @@ namespace Breeze ...@@ -621,7 +621,7 @@ namespace Breeze
painter->setRenderHint( QPainter::Antialiasing ); painter->setRenderHint( QPainter::Antialiasing );
QRectF frameRect( rect ); QRectF frameRect( rect );
qreal radius( frameRadius( PenWidth::NoPen, -1 ) ); qreal radius( frameRadius( PenWidth::NoPen ) );
// set pen // set pen
if( outline.isValid() ) if( outline.isValid() )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment