From e3726609d6431aaa1200e12ee9a65ea144008c34 Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Fri, 16 Mar 2012 01:10:02 +1100 Subject: QSystemTrayIcon/Win: Fix compilation on MinGW Define NOTIFYICON_VERSION_4 if it is not already defined. Change-Id: Ic432cbebf18f8b1e8b4727659dcedd7063e126ee Reviewed-by: Friedemann Kleint --- src/widgets/util/qsystemtrayicon_win.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/widgets/util/qsystemtrayicon_win.cpp') diff --git a/src/widgets/util/qsystemtrayicon_win.cpp b/src/widgets/util/qsystemtrayicon_win.cpp index f3d4347986..fa72e791ba 100644 --- a/src/widgets/util/qsystemtrayicon_win.cpp +++ b/src/widgets/util/qsystemtrayicon_win.cpp @@ -81,6 +81,7 @@ struct Q_NOTIFYICONIDENTIFIER { # define NIN_BALLOONTIMEOUT (WM_USER + 4) # define NIN_BALLOONUSERCLICK (WM_USER + 5) # define NIF_SHOWTIP 0x00000080 +# define NOTIFYICON_VERSION_4 4 #endif #define Q_MSGFLT_ALLOW 1 -- cgit v1.2.3