From db49ac4e1916f87143574b064b36ec86f8407145 Mon Sep 17 00:00:00 2001 From: Albert Mkhitaryan Date: Fri, 20 Feb 2026 08:48:54 +0000 Subject: Add keyboard shortcut support for service menu actions Introduce ServiceMenuShortcutManager, which registers all service menu actions with KActionCollection at startup allowing users to assign keyboard shortcuts in Configure Keyboard Shorcuts. Save/Load of configs happens via KXMLGUI in dolphinui.rc. Notes: - Manager initializes before setupGUI() for shortcut restoration - Execution and validation handled entirely by KFileItemAction in KIO. BUG: 260266 --- src/dolphincontextmenu.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/dolphincontextmenu.cpp') diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp index 577990e19..6fb362039 100644 --- a/src/dolphincontextmenu.cpp +++ b/src/dolphincontextmenu.cpp @@ -268,8 +268,6 @@ void DolphinContextMenu::addItemContextMenu() const KFileItemListProperties &selectedItemsProps = selectedItemsProperties(); - m_fileItemActions->setItemListProperties(selectedItemsProps); - if (m_selectedItems.count() == 1) { // single files if (m_fileInfo.isDir()) { -- cgit v1.3