drop unused patch

epel9
Rex Dieter 9 years ago
parent 10f084463c
commit ce4ca0c966

@ -1,40 +0,0 @@
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;

@ -17,7 +17,6 @@ URL: https://projects.kde.org/frameworkintegration
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
## downstream patches
#Patch0: frameworkintegration-5.17-workaround-qtmoc-5.6-bug.patch
BuildRequires: cmake
BuildRequires: extra-cmake-modules >= %{version}

Loading…
Cancel
Save