diff --git a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp index dad4ef10d91..ecf7daeada7 100644 --- a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp +++ b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp @@ -13994,6 +13994,7 @@ void tst_QWidget::reparentWindowHandles() child->setParent(&anotherTopLevel); QCOMPARE(window->parent(), anotherTopLevel.windowHandle()); } + break; case 5: { // Popup window that's a child of a widget that is // reparented should keep being a (top level) popup.