From 9769969d8c5461897d6f5961d0a44d42d304b29d Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 22 Oct 2021 10:35:21 +0300 Subject: [PATCH] Drop PlasmaWindowInterface::setThemedIcon() It's unused. KWin uses setIcon() instead. --- src/wayland/plasmawindowmanagement_interface.cpp | 5 ----- src/wayland/plasmawindowmanagement_interface.h | 7 ------- 2 files changed, 12 deletions(-) diff --git a/src/wayland/plasmawindowmanagement_interface.cpp b/src/wayland/plasmawindowmanagement_interface.cpp index 5ffb274281..b4e34e3a64 100644 --- a/src/wayland/plasmawindowmanagement_interface.cpp +++ b/src/wayland/plasmawindowmanagement_interface.cpp @@ -882,11 +882,6 @@ void PlasmaWindowInterface::setSkipSwitcher(bool skip) d->setState(ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_SKIPSWITCHER, skip); } -void PlasmaWindowInterface::setThemedIconName(const QString &iconName) -{ - d->setThemedIconName(iconName); -} - void PlasmaWindowInterface::setIcon(const QIcon &icon) { d->setIcon(icon); diff --git a/src/wayland/plasmawindowmanagement_interface.h b/src/wayland/plasmawindowmanagement_interface.h index 990d856f65..7b21aa6101 100644 --- a/src/wayland/plasmawindowmanagement_interface.h +++ b/src/wayland/plasmawindowmanagement_interface.h @@ -135,13 +135,6 @@ public: void setFullscreenable(bool set); void setSkipTaskbar(bool skip); void setSkipSwitcher(bool skip); -#if KWAYLANDSERVER_ENABLE_DEPRECATED_SINCE(5, 28) - /** - * @deprecated since 5.28 use setIcon - */ - KWAYLANDSERVER_DEPRECATED_VERSION(5, 28, "Use PlasmaWindowManagementInterface::setIcon(const QIcon&)") - void setThemedIconName(const QString &iconName); -#endif void setShadeable(bool set); void setShaded(bool set); void setMovable(bool set);