From 973efd4de6cbde296f4b0d0f3feb62774bdef800 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Fri, 26 Sep 2014 00:06:45 +0200 Subject: [PATCH] restored topLevel layout margins removed call to genericLayoutItemRect This effectively revert commits 739b18f4b370f392c72478837bd3b6cc632c8246 and 3618ba5ed5c77cee8b25074c24ae73e2451bd23f --- kstyle/breeze.h | 2 +- kstyle/breezestyle.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/kstyle/breeze.h b/kstyle/breeze.h index a441a88c..933ed662 100644 --- a/kstyle/breeze.h +++ b/kstyle/breeze.h @@ -58,7 +58,7 @@ namespace Breeze Frame_FrameRadius = 3, // layout - Layout_TopLevelMarginWidth = 0, + Layout_TopLevelMarginWidth = 10, Layout_ChildMarginWidth = 6, Layout_DefaultSpacing = 6, diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp index cff74e44..8b32c04c 100644 --- a/kstyle/breezestyle.cpp +++ b/kstyle/breezestyle.cpp @@ -672,8 +672,6 @@ namespace Breeze case SE_TabWidgetRightCorner: return tabWidgetCornerRect( SE_TabWidgetRightCorner, option, widget ); case SE_ToolBoxTabContents: return toolBoxTabContentsRect( option, widget ); - case SE_PushButtonLayoutItem: return genericLayoutItemRect( option, widget ); - // fallback default: return ParentStyleClass::subElementRect( element, option, widget );