diff --git a/plugins/windowsystem/windoweffects.cpp b/plugins/windowsystem/windoweffects.cpp index bee1f42d00..2ab6e290cd 100644 --- a/plugins/windowsystem/windoweffects.cpp +++ b/plugins/windowsystem/windoweffects.cpp @@ -67,13 +67,6 @@ void WindowEffects::slideWindow(WId id, KWindowEffects::SlideFromLocation locati w->setProperty("kwin_slide_offset", offset); } -#if KWINDOWSYSTEM_VERSION <= QT_VERSION_CHECK(5, 61, 0) -void WindowEffects::slideWindow(QWidget *widget, KWindowEffects::SlideFromLocation location) -{ - slideWindow(widget->winId(), location, 0); -} -#endif - QList WindowEffects::windowSizes(const QList &ids) { Q_UNUSED(ids) diff --git a/plugins/windowsystem/windoweffects.h b/plugins/windowsystem/windoweffects.h index a70dd91953..712de4eb8a 100644 --- a/plugins/windowsystem/windoweffects.h +++ b/plugins/windowsystem/windoweffects.h @@ -18,9 +18,6 @@ public: bool isEffectAvailable(KWindowEffects::Effect effect) override; void slideWindow(WId id, KWindowEffects::SlideFromLocation location, int offset) override; -#if KWINDOWSYSTEM_VERSION <= QT_VERSION_CHECK(5, 61, 0) - void slideWindow(QWidget *widget, KWindowEffects::SlideFromLocation location) override; -#endif QList windowSizes(const QList &ids) override; void presentWindows(WId controller, const QList &ids) override; void presentWindows(WId controller, int desktop = NET::OnAllDesktops) override;