]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Revert "showMenuBar is deprecated, use showHideMenuBar instead."
authorAurélien Gâteau <agateau@kde.org>
Tue, 9 Nov 2010 00:15:14 +0000 (00:15 +0000)
committerAurélien Gâteau <agateau@kde.org>
Tue, 9 Nov 2010 00:15:14 +0000 (00:15 +0000)
This reverts commit f20cd7fd1836d0f16bc1dec2204bd4356a9f2802.

svn path=/trunk/KDE/kdebase/apps/; revision=1194446

src/dolphinmainwindow.cpp

index 8bba990c78f70ec899af98a700fec1fb409e834a..140ad06a2d042aec402fd14e83fcbdbc68c2467b 100644 (file)
@@ -56,7 +56,6 @@
 #include <kconfig.h>
 #include <kdesktopfile.h>
 #include <kdeversion.h>
-#include <kdualaction.h>
 #include <kfiledialog.h>
 #include <kfileplacesmodel.h>
 #include <kglobal.h>
@@ -1536,7 +1535,7 @@ void DolphinMainWindow::setupActions()
     connect(openTerminal, SIGNAL(triggered()), this, SLOT(openTerminal()));
 
     // setup 'Settings' menu
-    m_showMenuBar = KStandardAction::showHideMenubar(this, SLOT(toggleShowMenuBar()), actionCollection());
+    m_showMenuBar = KStandardAction::showMenubar(this, SLOT(toggleShowMenuBar()), actionCollection());
     KStandardAction::preferences(this, SLOT(editSettings()), actionCollection());
 
     // not in menu actions