From: Shaun Reich Date: Wed, 11 Mar 2009 22:25:39 +0000 (+0000) Subject: This patch isn't needed anymore thanks to dfaure's up-coming patch to kmenu, the... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/7a22141c55b5344715325156fa3257dafbe0d916 This patch isn't needed anymore thanks to dfaure's up-coming patch to kmenu, the accelerator manager will automatically handle KMenu's. svn path=/trunk/KDE/kdebase/apps/; revision=938471 --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 2b9e5b58e..df8b4ba54 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -852,7 +852,6 @@ void DolphinMainWindow::openTabContextMenu(int index, const QPoint& pos) QAction* closeTabAction = menu.addAction(KIcon("tab-close"), i18nc("@action:inmenu", "Close Tab")); closeTabAction->setShortcut(actionCollection()->action("close_tab")->shortcut()); - KAcceleratorManager::manage(&menu); QAction* selectedAction = menu.exec(pos); if (selectedAction == newTabAction) { const ViewTab& tab = m_viewTab[index];