diff options
| -rw-r--r-- | src/apps/ktorrent/ktorrent.cpp | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/src/apps/ktorrent/ktorrent.cpp b/src/apps/ktorrent/ktorrent.cpp index 432d481..f77859b 100644 --- a/src/apps/ktorrent/ktorrent.cpp +++ b/src/apps/ktorrent/ktorrent.cpp @@ -32,7 +32,6 @@ #include <tdelocale.h> #include <tdemessagebox.h> #include <kiconloader.h> -#include <tdeversion.h> #include <tdemenubar.h> #include <kstatusbar.h> #include <kkeydialog.h> @@ -710,18 +709,10 @@ void KTorrent::optionsConfigureKeys() void KTorrent::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(factory()); - connect(&dlg,TQ_SIGNAL(newToolbarConfig()),this,TQ_SLOT(newToolbarConfig())); - dlg.exec(); + KEditToolbar dlg(factory()); + connect(&dlg,TQ_SIGNAL(newToolbarConfig()),this,TQ_SLOT(newToolbarConfig())); + dlg.exec(); } void KTorrent::newToolbarConfig() @@ -730,15 +721,7 @@ void KTorrent::newToolbarConfig() // recreate our GUI, and re-apply the settings (e.g. "text under icons", etc.) createGUI(0); -#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 KTorrent::optionsPreferences() |
