Commit 7632cc51 authored by Laurent Montel's avatar Laurent Montel 😁

Now it depends against new version. Old code can be removed

parent 1d9b99d4
......@@ -150,12 +150,6 @@ void WindowEffects::slideWindow(WId id, KWindowEffects::SlideFromLocation locati
}
}
#if KWINDOWSYSTEM_VERSION <= QT_VERSION_CHECK(5, 61, 0)
void WindowEffects::slideWindow(QWidget *widget, KWindowEffects::SlideFromLocation location)
{
slideWindow(widget->winId(), location, 0);
}
#endif
QList<QSize> WindowEffects::windowSizes(const QList<WId> &ids)
{
......
......@@ -37,9 +37,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<QSize> windowSizes(const QList<WId> &ids) override;
void presentWindows(WId controller, const QList<WId> &ids) override;
void presentWindows(WId controller, int desktop = NET::OnAllDesktops) override;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment