summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kernel/qstyle.h2
-rw-r--r--src/styles/qcommonstyle.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/qstyle.h b/src/kernel/qstyle.h
index 5531def..64152ed 100644
--- a/src/kernel/qstyle.h
+++ b/src/kernel/qstyle.h
@@ -223,6 +223,8 @@ public:
PE_PanelGroupBox,
PE_RubberBand,
+ PE_HeaderSectionMenu,
+
// do not add any values below/greater this
PE_CustomBase = 0xf000000
};
diff --git a/src/styles/qcommonstyle.cpp b/src/styles/qcommonstyle.cpp
index 0f9dddb..faf3649 100644
--- a/src/styles/qcommonstyle.cpp
+++ b/src/styles/qcommonstyle.cpp
@@ -283,6 +283,7 @@ void QCommonStyle::drawPrimitive( PrimitiveElement pe,
case PE_ButtonTool:
case PE_ButtonDropDown:
case PE_HeaderSection:
+ case PE_HeaderSectionMenu:
qDrawShadePanel(p, r, cg, flags & (Style_Sunken | Style_Down | Style_On) , 1,
&cg.brush(QColorGroup::Button));
break;