mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
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:
parent
6e4711a6a8
commit
7a22141c55
1 changed files with 0 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue