From 1187cadfff699b4353afd2e5b4b123d4788e3a65 Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Sat, 7 Mar 2026 17:19:36 +0900
Subject: Remove use of KDE_IS_VERSION

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 client/deKoratorclient.cpp | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/client/deKoratorclient.cpp b/client/deKoratorclient.cpp
index 80d379d..b958323 100644
--- a/client/deKoratorclient.cpp
+++ b/client/deKoratorclient.cpp
@@ -2892,24 +2892,7 @@ void DeKoratorClient::maxButtonPressed()
 {
     if ( button[ ButtonMax ] )
     {
-#if KDE_IS_VERSION(3, 3, 0)
         maximize( button[ ButtonMax ] ->lastMousePress() );
-#else
-
-        switch ( button[ ButtonMax ] ->lastMousePress() )
-        {
-        case MidButton:
-            maximize( maximizeMode() ^ MaximizeVertical );
-            break;
-        case RightButton:
-            maximize( maximizeMode() ^ MaximizeHorizontal );
-            break;
-        default:
-            ( maximizeMode() == MaximizeFull ) ? maximize( MaximizeRestore )
-            : maximize( MaximizeFull );
-        }
-#endif
-
     }
 }
 
-- 
cgit v1.2.3

