From c8be7213a497a183701624c436a577091c04bb80 Mon Sep 17 00:00:00 2001 From: Ximi1970 Date: Sun, 21 Jun 2020 11:19:43 +0200 Subject: [PATCH] Fix linux target --- app/SysTray-X/systrayx.h | 3 ++- app/SysTray-X/windowctrl.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/SysTray-X/systrayx.h b/app/SysTray-X/systrayx.h index 81213ff..ecc85bd 100644 --- a/app/SysTray-X/systrayx.h +++ b/app/SysTray-X/systrayx.h @@ -11,6 +11,7 @@ /* * Qt includes */ + #include #include @@ -74,7 +75,7 @@ class SysTrayX : public QObject */ void hideTrayIcon(); -#if defined( Q_OS_LINUX ) && defined( NO_KDE_INTEGRATION ) +#if defined( Q_OS_LINUX ) && defined( KDE_INTEGRATION ) /** * @brief showKdeTrayIcon. Create and show the KDE icon. diff --git a/app/SysTray-X/windowctrl.h b/app/SysTray-X/windowctrl.h index 11fa4c6..60435dc 100644 --- a/app/SysTray-X/windowctrl.h +++ b/app/SysTray-X/windowctrl.h @@ -4,7 +4,7 @@ #include #ifdef Q_OS_LINUX -#include "windowctrl-unix.h" +#include "windowctrl-lin.h" #endif // Q_OS_LINUX #ifdef Q_OS_WIN