summaryrefslogtreecommitdiffstats
path: root/src/knutmainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/knutmainwindow.cpp')
-rw-r--r--src/knutmainwindow.cpp24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/knutmainwindow.cpp b/src/knutmainwindow.cpp
index 3cd00f8..45b22cc 100644
--- a/src/knutmainwindow.cpp
+++ b/src/knutmainwindow.cpp
@@ -748,29 +748,7 @@ void KNutMainWindow::initAction ( void ) {
new TDEAction(i18n("&Running instant commands"),0,this, TQ_SLOT(slotInstComms()),actionCollection(),"instcomms");
new TDEAction(i18n("Setting R&W variables"),0,this, TQ_SLOT(slotRWVars()),actionCollection(),"rwvars");
-///////////////////
-// KStdAction::showToolbar (this, TQ_SLOT (slotShowToolBar()), actionCollection());
-// setStandardToolBarMenuEnabled(true); since KDE version 3.1
-
-// since version 3.1
- #if defined (TDE_VERSION_MAJOR)
- #if TDE_VERSION_MAJOR >= 3
- #if defined (TDE_VERSION_MINOR)
- #if TDE_VERSION_MINOR >= 1
- setStandardToolBarMenuEnabled(true);
- #else
- KStdAction::showToolbar (this, TQ_SLOT (slotShowToolBar()), actionCollection());
- #endif
- #else
- KStdAction::showToolbar (this, TQ_SLOT (slotShowToolBar()), actionCollection());
- #endif
- #else
- KStdAction::showToolbar (this, TQ_SLOT (slotShowToolBar()), actionCollection());
- #endif
- #else
- KStdAction::showToolbar (this, TQ_SLOT (slotShowToolBar()), actionCollection());
- #endif
-
+ setStandardToolBarMenuEnabled(true);
KStdAction::showStatusbar (this, TQ_SLOT (slotShowStatusBar()), actionCollection());