diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp index ae578bc683bb66a3d5494ebf5977ee42bab4f89a..567d21bcd1af832a07085616455bd6957c7e3e9b 100644 --- a/kstyle/breezestyle.cpp +++ b/kstyle/breezestyle.cpp @@ -3885,7 +3885,7 @@ namespace Breeze _helper->renderMenuFrame( painter, option->rect, background, outline, hasAlpha, isTopMenu ); painter->restore(); - + return true; } @@ -4874,17 +4874,17 @@ namespace Breeze // normal separator if( menuItemOption->text.isEmpty() && menuItemOption->icon.isNull() ) { - + auto color( _helper->separatorColor( palette ) ); QRect copy( rect ); - - if( StyleConfigData::menuOpacity() < 100 ) + + if( StyleConfigData::menuOpacity() < 100 ) { color = _helper->alphaColor( palette.color( QPalette::WindowText ), 0.25 ) ; // don`t overlap with menu border copy.adjust( 1, 0, -1, 0 ); } - + _helper->renderSeparator( painter, copy, color ); return true; @@ -6446,12 +6446,6 @@ namespace Breeze const auto button( qobject_cast( widget ) ); if( button->isChecked() || button->isDown() ) copy.state |= State_On; - } else if( !inTabBar && hasInlineIndicator ) { - - const int marginWidth( flat ? Metrics::ToolButton_MarginWidth : Metrics::Button_MarginWidth + Metrics::Frame_FrameWidth ); - contentsRect = insideMargin( contentsRect, marginWidth, 0 ); - contentsRect = visualRect( option, contentsRect ); - } copy.rect = contentsRect;