From faa738e171f7a96bfeeadc067b6ac0bb7deae39d Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Wed, 24 Apr 2024 11:14:02 +0300 Subject: [PATCH] kcontrol: adjust standard_actions KCM to KShortcutsEditor changes Signed-off-by: Ivailo Monev --- kcontrol/standard_actions/standard_actions_module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcontrol/standard_actions/standard_actions_module.cpp b/kcontrol/standard_actions/standard_actions_module.cpp index 7ad384af..0d8adb39 100644 --- a/kcontrol/standard_actions/standard_actions_module.cpp +++ b/kcontrol/standard_actions/standard_actions_module.cpp @@ -71,7 +71,7 @@ StandardActionsModule::StandardActionsModule( KCModule::setButtons(KCModule::Buttons(KCModule::Default | KCModule::Apply | KCModule::Help)); // Create and configure the editor - m_editor = new KShortcutsEditor(this, KShortcutsEditor::WidgetAction | KShortcutsEditor::WindowAction | KShortcutsEditor::ApplicationAction); // there will be no global actions, so make sure that column is hidden + m_editor = new KShortcutsEditor(this, KShortcutsEditor::LocalAction); // there will be no global actions connect(m_editor, SIGNAL(keyChange()), this, SLOT(keyChanged())); // Make a layout