Remove insignification of QMdiArea test on Windows.

This test had two stable failures, caused by including code not meant
for Windows.

Task-number: QTBUG-25298
Change-Id: I43d9d62ecf5a3c6eec240fafbc43a625c00f45fa
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Jason McDonald 2012-04-20 02:03:55 +10:00 committed by Qt by Nokia
parent 39e6d75511
commit 4aacc47f66
2 changed files with 3 additions and 3 deletions

View File

@ -12,4 +12,4 @@ mac {
LIBS += -framework Security
}
!mac:CONFIG+=insignificant_test # QTBUG-25298
!mac:!win32:CONFIG+=insignificant_test # QTBUG-25298

View File

@ -1032,7 +1032,7 @@ void tst_QMdiArea::activeSubWindow()
qApp->setActiveWindow(&mainWindow);
QCOMPARE(mdiArea->activeSubWindow(), subWindow);
#if !defined(Q_OS_MAC) && !defined(Q_WS_WIN)
#if !defined(Q_OS_MAC) && !defined(Q_OS_WIN)
qApp->setActiveWindow(0);
QVERIFY(!mdiArea->activeSubWindow());
#endif
@ -1117,7 +1117,7 @@ void tst_QMdiArea::currentSubWindow()
QVERIFY(mdiArea.activeSubWindow());
QVERIFY(mdiArea.currentSubWindow());
#if !defined(Q_OS_MAC) && !defined(Q_WS_WIN)
#if !defined(Q_OS_MAC) && !defined(Q_OS_WIN)
qApp->setActiveWindow(0);
QVERIFY(!mdiArea.activeSubWindow());
QVERIFY(mdiArea.currentSubWindow());