diff options
| author | Kevin Ottens <[email protected]> | 2010-10-27 14:26:05 +0000 |
|---|---|---|
| committer | Kevin Ottens <[email protected]> | 2010-10-27 14:26:05 +0000 |
| commit | e521e260b6c95242e87fad9f22a0faa696cfa948 (patch) | |
| tree | fa07a437a60b4f862f7d658e5b4cf76aca22dc12 /src | |
| parent | 90d6867a5e892fb34c0dd6706d96a039572449b4 (diff) | |
showMenuBar is deprecated, use showHideMenuBar instead.
svn path=/trunk/KDE/kdebase/apps/; revision=1190390
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 167debd33..e44495015 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -53,6 +53,7 @@ #include <kconfig.h> #include <kdesktopfile.h> #include <kdeversion.h> +#include <kdualaction.h> #include <kfiledialog.h> #include <kfileplacesmodel.h> #include <kglobal.h> @@ -1490,7 +1491,7 @@ void DolphinMainWindow::setupActions() connect(openTerminal, SIGNAL(triggered()), this, SLOT(openTerminal())); // setup 'Settings' menu - m_showMenuBar = KStandardAction::showMenubar(this, SLOT(toggleShowMenuBar()), actionCollection()); + m_showMenuBar = KStandardAction::showHideMenubar(this, SLOT(toggleShowMenuBar()), actionCollection()); KStandardAction::preferences(this, SLOT(editSettings()), actionCollection()); // not in menu actions |
