Skip to content
Commit e80001ec authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Migrate command shortcuts from khotkeys

khotkeys is finally retired, but users may have a number of existing shortcuts.

While KGlobalAccel has no equivalent for window actions and mouse gestures we
do for command shortcuts, so let's migrate them to kglobalaccel proper.

kglobalaccel already manages these, but the actual execution still resided in
khotkeys.

To fix this, at startup, read the saved shortcuts from khotkeys and create desktop
files for them. This covers command actions as well as DBus actions (since those
can be trivially transformed into a command).

This has the benefit of cleaning out the awkward "Custom Shortcut Service" section
in the KCM.

CCBUG: 480090
(cherry picked from commit 6c6ce651)
parent d7806dc2
Pipeline #591624 passed with stage
in 43 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment