diff options
author | Thomas Preud'homme <robotux@celest.fr> | 2020-08-11 22:35:12 +0100 |
---|---|---|
committer | Thomas Preud'homme <robotux@celest.fr> | 2020-08-11 22:35:12 +0100 |
commit | 3ac113857071fc1f225b2e1b42547269e568c6b7 (patch) | |
tree | 8b28dd9c44a0d3c7ab8187cd8d8f19d47591d813 /SystrayIcon.h | |
parent | 9b10c21f5cad0e2ec27d23c59e65af7141a226f3 (diff) |
New upstream version 2.2.4.4
Diffstat (limited to 'SystrayIcon.h')
-rwxr-xr-x[-rw-r--r--] | SystrayIcon.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/SystrayIcon.h b/SystrayIcon.h index e17da02..6b909de 100644..100755 --- a/SystrayIcon.h +++ b/SystrayIcon.h @@ -15,6 +15,10 @@ #include <QList>
#include <QUrl>
+#ifdef Q_OS_WIN32
+#define TREEMENU
+#endif
+
#include "Environment.h"
/** \brief The systray icon
@@ -49,7 +53,7 @@ class SystrayIcon : public QSystemTrayIcon std::string lastVersion;
#endif
QMenu* systrayMenu; ///< Pointer on the menu
- #if ! defined(Q_OS_LINUX) || (QT_VERSION < QT_VERSION_CHECK(5, 6, 0))
+ #ifdef TREEMENU
QMenu* copyMenu; ///< Pointer on the copy menu (move or copy)
#else
std::vector<QAction*> actions;
|