From 4a8d9525440d5d85b619c6a28ff5a7cfe60c4c77 Mon Sep 17 00:00:00 2001 From: Alexander Lohnau Date: Sat, 21 Oct 2023 09:48:39 +0200 Subject: [PATCH] plugins/windowview: Remove unused gestureCallback lambda The usages were removed in 028dd552cfb9d826b40b9620d869c98d2aa3dca3, but the lambda remained --- src/plugins/windowview/windowvieweffect.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/plugins/windowview/windowvieweffect.cpp b/src/plugins/windowview/windowvieweffect.cpp index d7b9637f05..c3d0c5807d 100644 --- a/src/plugins/windowview/windowvieweffect.cpp +++ b/src/plugins/windowview/windowvieweffect.cpp @@ -110,22 +110,6 @@ WindowViewEffect::WindowViewEffect() } }); - const auto gestureCallback = [this](qreal progress) { - if (!effects->hasActiveFullScreenEffect() || effects->activeFullScreenEffect() == this) { - switch (m_status) { - case Status::Inactive: - case Status::Activating: - setMode(ModeAllDesktops); - partialActivate(progress); - break; - case Status::Active: - case Status::Deactivating: - partialDeactivate(progress); - break; - } - } - }; - reconfigure(ReconfigureAll); }