diff --git a/src/widgets/styles/qstylesheetstyle.cpp b/src/widgets/styles/qstylesheetstyle.cpp index 4a7f47c9335..6528615c694 100644 --- a/src/widgets/styles/qstylesheetstyle.cpp +++ b/src/widgets/styles/qstylesheetstyle.cpp @@ -4070,8 +4070,6 @@ void QStyleSheetStyle::drawControl(ControlElement ce, const QStyleOption *opt, Q #if QT_CONFIG(combobox) case CE_ComboBoxLabel: - if (!rule.hasBox()) - break; if (const QStyleOptionComboBox *cb = qstyleoption_cast(opt)) { QRect editRect = subControlRect(CC_ComboBox, cb, SC_ComboBoxEditField, w); p->save();