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.
wilder-5.24
Nate Graham 4 years ago
parent 4c82170085
commit 9b7aeb3868
  1. 2
      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

Loading…
Cancel
Save