You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kf5-frameworkintegration/frameworkintegration-5.17-w...

41 lines
1.1 KiB

diff --git a/src/platformtheme/kdeplatformsystemtrayicon.h b/src/platformtheme/kdeplatformsystemtrayicon.h
index 502942e..47cffd6 100644
--- a/src/platformtheme/kdeplatformsystemtrayicon.h
+++ b/src/platformtheme/kdeplatformsystemtrayicon.h
@@ -28,7 +28,6 @@ class SystemTrayMenuItem;
class QAction;
class QMenu;
-#if (QT_VERSION >= QT_VERSION_CHECK(5, 3, 0))
class SystemTrayMenu : public QPlatformMenu
{
Q_OBJECT
@@ -77,9 +76,7 @@ public:
void setVisible(bool isVisible) Q_DECL_OVERRIDE;
quintptr tag() const Q_DECL_OVERRIDE;
void setIconSize(int size)
-#if (QT_VERSION >= QT_VERSION_CHECK(5, 4, 0))
Q_DECL_OVERRIDE
-#endif
;
QAction *action() const;
@@ -88,7 +85,6 @@ private:
quintptr m_tag;
QAction *m_action;
};
-#endif
class KDEPlatformSystemTrayIcon : public QPlatformSystemTrayIcon
{
@@ -108,9 +104,7 @@ public:
bool isSystemTrayAvailable() const Q_DECL_OVERRIDE;
bool supportsMessages() const Q_DECL_OVERRIDE;
-#if (QT_VERSION >= QT_VERSION_CHECK(5, 3, 0))
QPlatformMenu *createMenu() const Q_DECL_OVERRIDE;
-#endif
private:
KStatusNotifierItem *m_sni;