summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget_win.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2010-07-16 08:43:14 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2010-07-16 09:40:48 (GMT)
commitad4aff6e2d188d88a2c6b4b692932adb08491d22 (patch)
treed79908fc4f52b6417d29516bab96130ba3c1d859 /src/gui/kernel/qwidget_win.cpp
parent2c1aafa47b8915ea8aae8da229d65086e42543b3 (diff)
downloadQt-ad4aff6e2d188d88a2c6b4b692932adb08491d22.zip
Qt-ad4aff6e2d188d88a2c6b4b692932adb08491d22.tar.gz
Qt-ad4aff6e2d188d88a2c6b4b692932adb08491d22.tar.bz2
Windows mobile: hide [X] button in task bar on unmaximize
When calling showNormal on a window that was maximized, we must remove the [X] button from the task bar. But only if it was added by qt_wince_maximize. Task-number: QTBUG-8408 Reviewed-by: Martin Petersson
Diffstat (limited to 'src/gui/kernel/qwidget_win.cpp')
-rw-r--r--src/gui/kernel/qwidget_win.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget_win.cpp b/src/gui/kernel/qwidget_win.cpp
index 0f05c6b..23f57da 100644
--- a/src/gui/kernel/qwidget_win.cpp
+++ b/src/gui/kernel/qwidget_win.cpp
@@ -70,6 +70,7 @@
#include "qguifunctions_wince.h"
QT_USE_NAMESPACE
extern void qt_wince_maximize(QWidget *widget); //defined in qguifunctions_wince.cpp
+extern void qt_wince_unmaximize(QWidget *widget); //defined in qguifunctions_wince.cpp
extern void qt_wince_minimize(HWND hwnd); //defined in qguifunctions_wince.cpp
extern void qt_wince_full_screen(HWND hwnd, bool fullScreen, UINT swpf); //defined in qguifunctions_wince.cpp
extern bool qt_wince_is_mobile(); //defined in qguifunctions_wince.cpp