Fix build without features.groupbox

Change-Id: Ic040d0ba69620cf49700d83e45ccd9b8c363e587
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
bb10
Tasuku Suzuki 2019-08-15 00:57:25 +09:00
parent 6b9d319b26
commit 1d496a4a10
1 changed files with 2 additions and 0 deletions

View File

@ -465,6 +465,7 @@ void QFusionStyle::drawPrimitive(PrimitiveElement elem,
switch (elem) {
#if QT_CONFIG(groupbox)
// No frame drawn
case PE_FrameGroupBox:
{
@ -481,6 +482,7 @@ void QFusionStyle::drawPrimitive(PrimitiveElement elem,
qDrawBorderPixmap(painter, frame, QMargins(6, 6, 6, 6), pixmap);
break;
}
#endif // QT_CONFIG(groupbox)
case PE_IndicatorBranch: {
if (!(option->state & State_Children))
break;