qt5base-lts/tests/auto/widgets
Joerg Bornemann 0d8795fcb4 fix window activation in tst_qmdiArea::subWindowActivated2
QApplication::setActiveWindow doesn't activate the native window but
marks the widget as active inside Qt.
We need to use QWidget::activateWindow instead. See docs.

Also moved the activation call further down because on Windows a
minimized window cannot be activated using the activation-by-focus
fake we're currently using.

Change-Id: I752f6ada1f463931fa9cfb3c35f42dbec0207bfa
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-07-31 20:25:59 +02:00
..
dialogs Remove usage of deprecated qWaitForWindowShown in dialog tests. 2012-07-24 00:08:28 +02:00
effects Implement waitForWindowExposed and friends for widget windows. 2012-07-20 09:27:28 +02:00
graphicsview Deprecate the qWaitForWindowShown(QWindow *) method. 2012-07-25 07:24:49 +02:00
itemviews Stabilize the QHeaderView test. 2012-07-31 11:57:21 +02:00
kernel Implement synchronous WS events by flushing. 2012-07-31 20:25:36 +02:00
styles Remove usage of deprecated qWaitForWindowShown(QWidget *) method. 2012-07-25 17:32:21 +02:00
util Stabilize tst_QCompleter::QTBUG_14292_filesystem. 2012-07-26 15:12:55 +02:00
widgets fix window activation in tst_qmdiArea::subWindowActivated2 2012-07-31 20:25:59 +02:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00