File Metadata

Author
hpereiradacosta
Created
Aug 16 2019, 3:50 PM

patch.diff

diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp
index 84e0adcd..b5204a26 100644
--- a/kstyle/breezestyle.cpp
+++ b/kstyle/breezestyle.cpp
@@ -6088,6 +6088,7 @@ namespace Breeze
// frame
if( toolButtonOption->subControls & SC_ToolButton )
{
+ if( !flat ) copy.rect = buttonRect;
if( inTabBar ) drawTabBarPanelButtonToolPrimitive( &copy, painter, widget );
else drawPrimitive( PE_PanelButtonTool, &copy, painter, widget);
}