┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontextmenu.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-09-23 13:04:46 +0000
committerPeter Penz <[email protected]>2008-09-23 13:04:46 +0000
commit41dfbdf3d9c6acbdde4e8e38a5b0cfde8c8acd6a (patch)
tree30d7dcba918b871e2ac0d21d49201333191c5764 /src/dolphincontextmenu.cpp
parent947054c3fb1fed51b315c0deea9610409222d375 (diff)
Fixed issue that the "Show Menu Bar" state is not updated correctly (workaround for bug #171080). Patch has been provided by Laurens Vanhove.
svn path=/trunk/KDE/kdebase/apps/; revision=863909
Diffstat (limited to 'src/dolphincontextmenu.cpp')
-rw-r--r--src/dolphincontextmenu.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp
index 55b83c552..7edfdb285 100644
--- a/src/dolphincontextmenu.cpp
+++ b/src/dolphincontextmenu.cpp
@@ -322,10 +322,6 @@ void DolphinContextMenu::addShowMenubarAction(KMenu* menu)
{
KAction* showMenuBar = m_mainWindow->showMenuBarAction();
if (!m_mainWindow->menuBar()->isVisible()) {
- // TODO: it should not be necessary to uncheck the menu
- // bar action, but currently the action states don't get
- // updated if the menu is disabled
- showMenuBar->setChecked(false);
menu->addAction(showMenuBar);
menu->addSeparator();
}