summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2009-04-07 10:50:32 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-04-15 09:48:58 (GMT)
commitac0ad48bba91530abd04624f36283d6dc82ec8e7 (patch)
treeee4408166a4ff7382cee0afcac35a7f8b5bd23b4 /src
parent3bf1b0432c411aaca24236d66d90d5143cab683e (diff)
downloadQt-ac0ad48bba91530abd04624f36283d6dc82ec8e7.zip
Qt-ac0ad48bba91530abd04624f36283d6dc82ec8e7.tar.gz
Qt-ac0ad48bba91530abd04624f36283d6dc82ec8e7.tar.bz2
Fixes: WDestructiveClose flag and the new WindowCancelButtonHint have the same value -> crash on SetTitle()
Task: 242484 RevBy: mauricek AutoTest: Details: Since we do not respect binary compatibility on Windows CE we just change the enum (cherry picked from commit c1c30037292711f0fb05677e77ed2eb2112eca78)
Diffstat (limited to 'src')
-rw-r--r--src/corelib/global/qnamespace.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h
index e10b912..8db1756 100644
--- a/src/corelib/global/qnamespace.h
+++ b/src/corelib/global/qnamespace.h
@@ -280,9 +280,7 @@ public:
WindowStaysOnTopHint = 0x00040000,
// reserved for Qt3Support:
// WMouseNoMask = 0x00080000,
- WindowOkButtonHint = 0x00080000,
// WDestructiveClose = 0x00100000,
- WindowCancelButtonHint = 0x00100000,
// WStaticContents = 0x00200000,
// WGroupLeader = 0x00400000,
// WShowModal = 0x00800000,
@@ -291,7 +289,9 @@ public:
WindowStaysOnBottomHint = 0x04000000,
WindowCloseButtonHint = 0x08000000,
MacWindowToolBarButtonHint = 0x10000000,
- BypassGraphicsProxyWidget = 0x20000000
+ BypassGraphicsProxyWidget = 0x20000000,
+ WindowOkButtonHint = 0x00080000,
+ WindowCancelButtonHint = 0x00100000
#ifdef QT3_SUPPORT
,