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
This commit is contained in:
Shaun Reich 2009-03-11 22:25:39 +00:00
parent 6e4711a6a8
commit 7a22141c55

View file

@ -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];