From 3ac113857071fc1f225b2e1b42547269e568c6b7 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Tue, 11 Aug 2020 22:35:12 +0100 Subject: New upstream version 2.2.4.4 --- SystrayIcon.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) mode change 100644 => 100755 SystrayIcon.h (limited to 'SystrayIcon.h') diff --git a/SystrayIcon.h b/SystrayIcon.h old mode 100644 new mode 100755 index e17da02..6b909de --- a/SystrayIcon.h +++ b/SystrayIcon.h @@ -15,6 +15,10 @@ #include #include +#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 actions; -- cgit v1.2.3