diff options
author | Jonathan Liu <net147@gmail.com> | 2012-03-16 01:10:02 +1100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-15 15:21:10 +0100 |
commit | e3726609d6431aaa1200e12ee9a65ea144008c34 (patch) | |
tree | 631bf9ce41a45afaa15a2784b9906db9a29d2a0b /src | |
parent | 81043dcb550a57ce6088e9dabba32f2096a94b6d (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/widgets/util/qsystemtrayicon_win.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 |