Fix tst_QMdiSubWindow::emittingOfSignals CI failures
The test fails consistently on the CI (but never fails on any of the developer machines). This is possibly a timing issue. Change-Id: Ie40d9c38c3128a93898b0e50bfde5a754bd2b7fb Reviewed-by: Giuseppe D'Angelo <dangelog@gmail.com> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
This commit is contained in:
parent
033eff02fe
commit
70cb9598af
@ -98,10 +98,9 @@ static inline void triggerSignal(QMdiSubWindow *window, QMdiArea *workspace,
|
||||
window->showMaximized();
|
||||
qApp->processEvents();
|
||||
window->showNormal();
|
||||
qApp->processEvents();
|
||||
QVERIFY(!window->isMinimized());
|
||||
QVERIFY(!window->isMaximized());
|
||||
QVERIFY(!window->isShaded());
|
||||
QTRY_VERIFY(!window->isMinimized());
|
||||
QTRY_VERIFY(!window->isMaximized());
|
||||
QTRY_VERIFY(!window->isShaded());
|
||||
} else if (signal == SIGNAL(aboutToActivate())) {
|
||||
if (window->parent()) {
|
||||
workspace->setActiveSubWindow(window);
|
||||
|
Loading…
Reference in New Issue
Block a user