From ba6061655cf92ec73f591b3735c2853a684ecaf2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 5 Aug 2011 00:22:42 -0500 Subject: [ENHANCEMENT] Add new PE_HeaderSectionMenu primitive element This is needed to make the PopupMenuTitle UI element work properly --- src/styles/qcommonstyle.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/styles/qcommonstyle.cpp') 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; -- cgit v1.2.3