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 <david.faure@kdab.com> (cherry picked from commit ce8c81555de31641041730df08be257cf0ddc221) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
a625d521f7
commit
433feb87c0
@ -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")));
|
||||
|
Loading…
x
Reference in New Issue
Block a user