From 9b7aeb3868e8eaec795c3a44b9b824d3914cf8fa Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Tue, 30 Nov 2021 21:10:39 -0700 Subject: [PATCH] Disable "run associated application" by default in desktop context menu This action is the "Open in Dolphin" menu item in the context menu. This menu item is not very useful; there is little reason to open the entire desktop view in Dolphin because it's already visible on the desktop! Disabling this item by default makes the context menu a tiny bit more approachable by removing a fairly useless item from it. --- containmentactions/contextmenu/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containmentactions/contextmenu/menu.cpp b/containmentactions/contextmenu/menu.cpp index 7c87dc4b2..90e5c8f11 100644 --- a/containmentactions/contextmenu/menu.cpp +++ b/containmentactions/contextmenu/menu.cpp @@ -66,7 +66,6 @@ void ContextMenu::restore(const KConfigGroup &config) actions.insert(QStringLiteral("configure shortcuts"), false); m_actionOrder << QStringLiteral("configure") << QStringLiteral("_display_settings") - << QStringLiteral("run associated application") << QStringLiteral("configure shortcuts") << QStringLiteral("_sep1") << QStringLiteral("_context") @@ -83,6 +82,7 @@ void ContextMenu::restore(const KConfigGroup &config) << QStringLiteral("_wallpaper"); disabled.insert(QStringLiteral("configure shortcuts")); disabled.insert(QStringLiteral("_run_command")); + disabled.insert(QStringLiteral("run associated application")); } // clang-format on