diff --git a/tests/auto/widgets/widgets/qcombobox/tst_qcombobox.cpp b/tests/auto/widgets/widgets/qcombobox/tst_qcombobox.cpp index 2c9b5e1dc47..cb83bd38cb5 100644 --- a/tests/auto/widgets/widgets/qcombobox/tst_qcombobox.cpp +++ b/tests/auto/widgets/widgets/qcombobox/tst_qcombobox.cpp @@ -3490,6 +3490,7 @@ void tst_QComboBox::popupPositionAfterStyleChange() QSKIP("Flaky on QEMU, QTBUG-114760"); box.addItems({"first", "middle", "last"}); + centerOnScreen(&box); box.show(); QVERIFY(QTest::qWaitForWindowExposed(&box)); box.showPopup();