From 4f44c2803258a97bfab3616aa7203305056d04b2 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 3 Feb 2023 22:08:50 +0200 Subject: [PATCH] effects: Drop EffectWindow::isCurrentTab --- src/effects.cpp | 6 ------ src/effects.h | 1 - src/libkwineffects/kwineffects.h | 3 --- 3 files changed, 10 deletions(-) diff --git a/src/effects.cpp b/src/effects.cpp index 4eea4d15d8..6e9a83b87e 100644 --- a/src/effects.cpp +++ b/src/effects.cpp @@ -2138,12 +2138,6 @@ MANAGED_HELPER(bool, isUnresponsive, unresponsive, false) #undef MANAGED_HELPER -// legacy from tab groups, can be removed when no effects use this any more. -bool EffectWindowImpl::isCurrentTab() const -{ - return true; -} - QString EffectWindowImpl::windowClass() const { return m_window->resourceName() + QLatin1Char(' ') + m_window->resourceClass(); diff --git a/src/effects.h b/src/effects.h index 692d1f349e..168c6ea7db 100644 --- a/src/effects.h +++ b/src/effects.h @@ -458,7 +458,6 @@ public: QString windowClass() const override; NET::WindowType windowType() const override; bool isSkipSwitcher() const override; - bool isCurrentTab() const override; QString windowRole() const override; bool isManaged() const override; diff --git a/src/libkwineffects/kwineffects.h b/src/libkwineffects/kwineffects.h index b284d9d293..0d0197041e 100644 --- a/src/libkwineffects/kwineffects.h +++ b/src/libkwineffects/kwineffects.h @@ -2591,9 +2591,6 @@ public: virtual void unminimize() = 0; Q_SCRIPTABLE virtual void closeWindow() = 0; - /// deprecated - virtual bool isCurrentTab() const = 0; - /** * @since 4.11 */