Do not redefine NIN_KEYSELECT if already defined

NIN_KEYSELECT is already defined for MinGW-w64.

Change-Id: Ieab9f883cf1680f792d085e254916d51602ce701
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Jonathan Liu 2012-06-14 22:31:38 +10:00 committed by Qt by Nokia
parent 007476ab19
commit aca3513dda

View File

@ -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