diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-10-19 12:44:43 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-10-19 15:23:44 (GMT) |
commit | 02c15e6a8cdb0f8a0bb6ee36880877fe90334d69 (patch) | |
tree | 7fa89beed7dd3c8023ff784263f7473b187276b9 | |
parent | 93a6da9a9b14bc2ff637c6756bbb467f58f6200b (diff) | |
download | Qt-02c15e6a8cdb0f8a0bb6ee36880877fe90334d69.zip Qt-02c15e6a8cdb0f8a0bb6ee36880877fe90334d69.tar.gz Qt-02c15e6a8cdb0f8a0bb6ee36880877fe90334d69.tar.bz2 |
fix widget activation from minimized state on Windows mobile
The following didn't work on Windows mobile:
* show a widget normal (non-maximized)
* minimize it
* reactivate it via the file explorer
* now the widget should be visible again
The code path from minimized to normal state was missing.
Reviewed-by: thartman
-rw-r--r-- | src/gui/kernel/qwidget_wince.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget_wince.cpp b/src/gui/kernel/qwidget_wince.cpp index 0666ab8..2fe69e4 100644 --- a/src/gui/kernel/qwidget_wince.cpp +++ b/src/gui/kernel/qwidget_wince.cpp @@ -558,6 +558,8 @@ void QWidget::setWindowState(Qt::WindowStates newstate) else if (newstate & Qt::WindowMaximized) { ShowWindow(internalWinId(), max); qt_wince_maximize(this); + } else { + ShowWindow(internalWinId(), normal); } } } |