From 433feb87c05707406151957ff77b7aeda6502b0e Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Tue, 26 Dec 2023 19:56:54 +0100 Subject: [PATCH] tst_qmdisubwindow: re-enable setFont() test This test was disabled during Qt5 porting because it was unstable. According to the discussion in the bug report, a deprecated function was used to wait for the window to get exposed. This was later replaced by a more robust QTest::qWaitForWindowExposed() but the test was not re-enabled again. Fixes: QTBUG-22544 Change-Id: I3190e38c1f42dc719803a60e66a86c3773cbedcd Reviewed-by: David Faure (cherry picked from commit ce8c81555de31641041730df08be257cf0ddc221) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/widgets/widgets/qmdisubwindow/tst_qmdisubwindow.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/auto/widgets/widgets/qmdisubwindow/tst_qmdisubwindow.cpp b/tests/auto/widgets/widgets/qmdisubwindow/tst_qmdisubwindow.cpp index 9adaf811160..a7a571c32d3 100644 --- a/tests/auto/widgets/widgets/qmdisubwindow/tst_qmdisubwindow.cpp +++ b/tests/auto/widgets/widgets/qmdisubwindow/tst_qmdisubwindow.cpp @@ -1867,7 +1867,6 @@ void tst_QMdiSubWindow::closeOnDoubleClick() void tst_QMdiSubWindow::setFont() { - QSKIP("This test function is unstable in CI, please see QTBUG-22544"); QMdiArea mdiArea; mdiArea.setWindowTitle(QLatin1String(QTest::currentTestFunction())); QMdiSubWindow *subWindow = mdiArea.addSubWindow(new TestPushButton(QLatin1String("test")));