From 47073a76727bdeb81df8901abb88215d0c19ac22 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 9 Mar 2026 16:58:46 +0900 Subject: Remove use of TDE_VERSION Signed-off-by: Michele Calgaro --- src/kasablanca.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/kasablanca.cpp') diff --git a/src/kasablanca.cpp b/src/kasablanca.cpp index 53db037..7e07ba3 100644 --- a/src/kasablanca.cpp +++ b/src/kasablanca.cpp @@ -17,7 +17,6 @@ #include #include -#include #include #include #include @@ -257,15 +256,7 @@ void Kasablanca::optionsConfigureKeys() void Kasablanca::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 } void Kasablanca::optionsPreferences() @@ -293,15 +284,7 @@ void Kasablanca::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 Kasablanca::setupMenu() -- cgit v1.2.3