summaryrefslogtreecommitdiffstats
path: root/kstyles/light
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-01 13:13:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-01 13:13:05 +0000
commit09d9d0683c3d80d7f88afd163b387d222c2220bb (patch)
treebd6a46ec3f308532281e0776a40492acd7b3fa2c /kstyles/light
parent708dc021992da4012720ef23837bb0c9921dc888 (diff)
downloadtdelibs-09d9d0683c3d80d7f88afd163b387d222c2220bb.tar.gz
tdelibs-09d9d0683c3d80d7f88afd163b387d222c2220bb.zip
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
Diffstat (limited to 'kstyles/light')
-rw-r--r--kstyles/light/lightstyle-v2.cpp1
-rw-r--r--kstyles/light/lightstyle-v3.cpp1
2 files changed, 2 insertions, 0 deletions
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;