Add missing break in tst_QWidget::reparentWindowHandles()
6c036012b5f2304a05af29f29daa7582603f79ae added a case branch to a switch before the break of the previous case. Amend the commit and add the missing break. Task-number: QTBUG-127641 Task-number: QTBUG-125149 Task-number: QTBUG-122747 Pick-to: 6.7 6.5 Change-Id: I3f2b3e07db463b72fa99af493f40cbc1a783f1ed Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit 1d409c0854d664bafc2a35b33cb73129a51c947a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
68c9ea8888
commit
a94b3deb49
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user