diff options
author | Stefan Hacker <dd0t@users.sourceforge.net> | 2014-08-22 03:55:34 +0400 |
---|---|---|
committer | Stefan Hacker <dd0t@users.sourceforge.net> | 2014-08-22 03:55:34 +0400 |
commit | 12eb26431f03f5ed3c634d647b1581572039112d (patch) | |
tree | a827af54d07919cae8cce5135d5652c76537156c /src/murmur/Tray.h | |
parent | 4efabcea5c5f6aff6de5d69500044429e8d9c053 (diff) |
Replace all uses of QT_VERSION_CHECK with explicit version.
Qt4's moc is not able to expand QT_VERSION_CHECK which may lead
to invalid codegen when used for backwards compatibility work.
Replaced all occurances with explicit check against numeric
version which are treated correctly. Even though bad interactions
might be rare we should no longer use this macro as long as we
want to compile with Qt 4. Also see:
http://lists.qt-project.org/pipermail/interest/2013-August/008351.html
Diffstat (limited to 'src/murmur/Tray.h')
-rw-r--r-- | src/murmur/Tray.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/murmur/Tray.h b/src/murmur/Tray.h index 5ceb407d6..6dd4220dc 100644 --- a/src/murmur/Tray.h +++ b/src/murmur/Tray.h @@ -34,7 +34,7 @@ #include <QtCore/QStringList> #include <QtCore/QObject> -#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) +#if QT_VERSION >= 0x050000 # include <QtWidgets/QSystemTrayIcon> #else # include <QtGui/QSystemTrayIcon> |