summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/widgets/util/qsystemtrayicon_win.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/widgets/util/qsystemtrayicon_win.cpp b/src/widgets/util/qsystemtrayicon_win.cpp
index 84becf4a70..731b547e2a 100644
--- a/src/widgets/util/qsystemtrayicon_win.cpp
+++ b/src/widgets/util/qsystemtrayicon_win.cpp
@@ -75,9 +75,12 @@ struct Q_NOTIFYICONIDENTIFIER {
GUID guidItem;
};
+#ifndef NIN_KEYSELECT
+# define NIN_KEYSELECT (WM_USER + 1)
+#endif
+
#ifdef Q_CC_MINGW
# define NIN_SELECT (WM_USER + 0)
-# define NIN_KEYSELECT (WM_USER + 1)
# define NIN_BALLOONTIMEOUT (WM_USER + 4)
# define NIN_BALLOONUSERCLICK (WM_USER + 5)
# define NIF_SHOWTIP 0x00000080