summaryrefslogtreecommitdiffstats
path: root/src/styles
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-05 00:22:42 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-05 00:22:42 -0500
commitba6061655cf92ec73f591b3735c2853a684ecaf2 (patch)
tree7536a9235f5177e5d6133a8e36b1a22352a17794 /src/styles
parentfa9e84ac0085c47d069c62f2a5a9f0919c9432de (diff)
downloadqt3-ba6061655cf92ec73f591b3735c2853a684ecaf2.tar.gz
qt3-ba6061655cf92ec73f591b3735c2853a684ecaf2.zip
[ENHANCEMENT] Add new PE_HeaderSectionMenu primitive element
This is needed to make the PopupMenuTitle UI element work properly
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/qcommonstyle.cpp1
1 files changed, 1 insertions, 0 deletions
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;