Skip to content

KeyboardLayout: always set componentDisplayName for shortcut

Yifan Zhu requested to merge work/fanzhuyifan/name into master

Otherwise the last call uses the default, which overrides the previous calls.

Test plan:

  • Go to system settings - shortcuts
  • Verify the category for layout switching is now correctly called "Keyboard Layout Switcher"

CCBUG: 492019

For reference, see https://invent.kde.org/plasma/kwin/-/blob/e03fb08bcc66108a24bb90d1aa041a27e2519074/src/keyboard_layout.cpp#L45.

Edited by Yifan Zhu

Merge request reports

Loading