Add .kksrc extension to the file name when global shorcuts scheme is exported

Authored by harogaston on Apr 7 2020, 6:17 PM.

Description

Add .kksrc extension to the file name when global shorcuts scheme is exported

Summary:
The "Global shortcuts" (keys) kcm plugin does not add a corresponding
file extension to the explorted schemes, nevertheless the import
dialog filters files by the ".kksrc" extension causing that some users
are not able to find their exported files. This patch addresses that
situation.

BUG: 406932

Test Plan:

  1. Open "Global shortcuts" kcm module
  2. Select File->Export scheme...
  3. Check some random component(s)
  4. Click OK
  5. The save file dialog should have
    1. "All files" selected as filter
    2. "global_shortcuts.kksrc" as suggested file name

Reviewers: ngraham, mart

Reviewed By: ngraham, mart

Subscribers: davidre, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D28547