diff options
author | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2010-02-02 12:56:03 (GMT) |
---|---|---|
committer | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2010-02-03 16:31:07 (GMT) |
commit | dc7aa1a9f9cd89f726a54a88ff31731c56142eb8 (patch) | |
tree | d89879b1fdbcdba0c179acd20ad785cd9b1a18e0 /src/gui/kernel/qwidget_p.h | |
parent | 00c742407859aedd34f7d2811a8408ecd15d1e14 (diff) | |
download | Qt-dc7aa1a9f9cd89f726a54a88ff31731c56142eb8.zip Qt-dc7aa1a9f9cd89f726a54a88ff31731c56142eb8.tar.gz Qt-dc7aa1a9f9cd89f726a54a88ff31731c56142eb8.tar.bz2 |
Qt applications not responding to WM_GETHOTKEY on windows.
On windows when an application has been started through a shortcut link,
(either by double-clicking or by pressing the shortcut key assigned in
the link) the STARTUPINFO contains the hotkey associated to the
application. This should be set on the toplevel using WM_SETHOTKEY, so
that it behaves like native applications.
Task-number: QUTBUG-3426
Reviewed-by: Jens Bache-Wiig
Reviewed-by: bnilsen
Diffstat (limited to 'src/gui/kernel/qwidget_p.h')
-rw-r--r-- | src/gui/kernel/qwidget_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget_p.h b/src/gui/kernel/qwidget_p.h index d3bc2d8..ff8f276 100644 --- a/src/gui/kernel/qwidget_p.h +++ b/src/gui/kernel/qwidget_p.h @@ -158,6 +158,7 @@ struct QTLWExtra { quint32 newCounterValueLo; #endif #elif defined(Q_WS_WIN) // <--------------------------------------------------------- WIN + uint hotkeyRegistered: 1; // Hot key from the STARTUPINFO has been registered. HICON winIconBig; // internal big Windows icon HICON winIconSmall; // internal small Windows icon #elif defined(Q_WS_MAC) // <--------------------------------------------------------- MAC |