diff options
author | Joerg Bornemann <joerg.bornemann@trolltech.com> | 2009-08-12 08:37:45 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@trolltech.com> | 2009-08-12 08:39:38 (GMT) |
commit | bdc6badde26d7543618561b51c4f76dec24e66f3 (patch) | |
tree | 4695176084fed24198fcfa2f45df4ed41bbe721f | |
parent | 2d00cfe51ca07a934c4f172d0131156190a9b6e1 (diff) | |
download | Qt-bdc6badde26d7543618561b51c4f76dec24e66f3.zip Qt-bdc6badde26d7543618561b51c4f76dec24e66f3.tar.gz Qt-bdc6badde26d7543618561b51c4f76dec24e66f3.tar.bz2 |
usage of Q_OS_WINCE fixed
There's no QT_OS_WINCE define.
Reviewed-by: mauricek
-rw-r--r-- | src/gui/kernel/qkeymapper_win.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qkeymapper_win.cpp b/src/gui/kernel/qkeymapper_win.cpp index b094784..36abf86 100644 --- a/src/gui/kernel/qkeymapper_win.cpp +++ b/src/gui/kernel/qkeymapper_win.cpp @@ -770,7 +770,7 @@ bool QKeyMapperPrivate::translateKeyEvent(QWidget *widget, const MSG &msg, bool bool isNumpad = (msg.wParam >= VK_NUMPAD0 && msg.wParam <= VK_NUMPAD9); quint32 nModifiers = 0; -#if defined(QT_OS_WINCE) +#if defined(Q_OS_WINCE) nModifiers |= (GetKeyState(VK_SHIFT ) < 0 ? ShiftAny : 0); nModifiers |= (GetKeyState(VK_CONTROL) < 0 ? ControlAny : 0); nModifiers |= (GetKeyState(VK_MENU ) < 0 ? AltAny : 0); @@ -790,7 +790,7 @@ bool QKeyMapperPrivate::translateKeyEvent(QWidget *widget, const MSG &msg, bool nModifiers |= (GetKeyState(VK_CAPITAL ) & 0x01 ? CapsLock : 0); nModifiers |= (GetKeyState(VK_NUMLOCK ) & 0x01 ? NumLock : 0); nModifiers |= (GetKeyState(VK_SCROLL ) & 0x01 ? ScrollLock : 0); -#endif // QT_OS_WINCE +#endif // Q_OS_WINCE if (msg.lParam & ExtendedKey) nModifiers |= msg.lParam & ExtendedKey; |