QSystemTrayIcon/Win: Fix compilation on MinGW

Define NOTIFYICON_VERSION_4 if it is not already defined.

Change-Id: Ic432cbebf18f8b1e8b4727659dcedd7063e126ee
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Jonathan Liu 2012-03-16 01:10:02 +11:00 committed by Qt by Nokia
parent 81043dcb55
commit e3726609d6

View File

@ -81,6 +81,7 @@ struct Q_NOTIFYICONIDENTIFIER {
# define NIN_BALLOONTIMEOUT (WM_USER + 4) # define NIN_BALLOONTIMEOUT (WM_USER + 4)
# define NIN_BALLOONUSERCLICK (WM_USER + 5) # define NIN_BALLOONUSERCLICK (WM_USER + 5)
# define NIF_SHOWTIP 0x00000080 # define NIF_SHOWTIP 0x00000080
# define NOTIFYICON_VERSION_4 4
#endif #endif
#define Q_MSGFLT_ALLOW 1 #define Q_MSGFLT_ALLOW 1