From 09d9d0683c3d80d7f88afd163b387d222c2220bb Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 1 Sep 2011 13:13:05 +0000 Subject: Fix kdelibs styles by adding PE_HeaderSectionMenu handlers to them git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1250782 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kstyles/light/lightstyle-v2.cpp | 1 + kstyles/light/lightstyle-v3.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'kstyles/light') diff --git a/kstyles/light/lightstyle-v2.cpp b/kstyles/light/lightstyle-v2.cpp index f6007a1f0..9858ce4f8 100644 --- a/kstyles/light/lightstyle-v2.cpp +++ b/kstyles/light/lightstyle-v2.cpp @@ -137,6 +137,7 @@ void LightStyleV2::tqdrawPrimitive( TQ_PrimitiveElement pe, const TQStyleOption &data ) const { switch (pe) { + case PE_HeaderSectionMenu: case PE_HeaderSection: { flags = ((flags | Style_Sunken) ^ Style_Sunken) | Style_Raised; diff --git a/kstyles/light/lightstyle-v3.cpp b/kstyles/light/lightstyle-v3.cpp index 9af257bf1..b42ac5ef5 100644 --- a/kstyles/light/lightstyle-v3.cpp +++ b/kstyles/light/lightstyle-v3.cpp @@ -223,6 +223,7 @@ void LightStyleV3::tqdrawPrimitive( TQ_PrimitiveElement pe, const TQBrush *fill = 0; switch (pe) { + case PE_HeaderSectionMenu: case PE_HeaderSection: // don't draw any headers sunken flags = ((flags | Style_Sunken) ^ Style_Sunken) | Style_Raised; -- cgit v1.2.1