diff options
| author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2012-07-31 13:14:49 +0200 |
|---|---|---|
| committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-31 20:25:59 +0200 |
| commit | 0d8795fcb45411809dce3de5918e5d3125411b14 (patch) | |
| tree | fa813513a3867b79c42480f3055a4a97f57ce0ee /tests/manual/windowgeometry/controllerwidget.cpp | |
| parent | 5b49793d8048b51e3f671eb7c390a08999323876 (diff) | |
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>
Diffstat (limited to 'tests/manual/windowgeometry/controllerwidget.cpp')
0 files changed, 0 insertions, 0 deletions
