From 5800b43720dfaba72e32d2438a256a444c0a0f2a Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Tue, 10 Mar 2026 17:26:15 +0900
Subject: Remove use of TDE_VERSION

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

diff --git a/src/krecipes.cpp b/src/krecipes.cpp
index 577bd4f..112553a 100644
--- a/src/krecipes.cpp
+++ b/src/krecipes.cpp
@@ -68,8 +68,6 @@
 #include <tdestdaccel.h>
 #include <tdeaction.h>
 #include <kstdaction.h> 
-//Settings headers
-#include <tdeversion.h>
 
 Krecipes::Krecipes()
 		: TDEMainWindow( 0, "Krecipes" ),
@@ -631,17 +629,7 @@ void Krecipes::optionsConfigureKeys()
 void Krecipes::optionsConfigureToolbars()
 {
 	// use the standard toolbar editor
-#if defined(TDE_MAKE_VERSION)
-# if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0)
 	saveMainWindowSettings( TDEGlobal::config(), autoSaveGroup() );
-# else
-
-	saveMainWindowSettings( TDEGlobal::config() );
-# endif
-#else
-
-	saveMainWindowSettings( TDEGlobal::config() );
-#endif
 
 	KEditToolbar dlg( actionCollection() );
 	connect( &dlg, TQ_SIGNAL( newToolbarConfig() ), this, TQ_SLOT( newToolbarConfig() ) );
@@ -654,18 +642,7 @@ void Krecipes::newToolbarConfig()
 	// recreate our GUI, and re-apply the settings (e.g. "text under icons", etc.)
 	createGUI();
 
-#if defined(TDE_MAKE_VERSION)
-# if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0)
-
 	applyMainWindowSettings( TDEGlobal::config(), autoSaveGroup() );
-# else
-
-	applyMainWindowSettings( TDEGlobal::config() );
-# endif
-#else
-
-	applyMainWindowSettings( TDEGlobal::config() );
-#endif
 }
 
 void Krecipes::optionsPreferences()
-- 
cgit v1.2.3

