diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index be2a5f36cd..243ba93f5e 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -7907,8 +7907,8 @@ bool QWidget::event(QEvent *event) } } query->accept(); - break; } + break; case QEvent::PolishRequest: ensurePolished();