fill layouts from X server when there are no layouts in config

Authored by McPain on Jun 4 2019, 2:22 PM.

Description

fill layouts from X server when there are no layouts in config

Summary: BUG: 348198

Test Plan:

  1. move ~/.config/kxkbrc
  2. connect a USB keyboard
  3. layout changing works

Reviewers: ngraham, broulik, hein, Plasma

Reviewed By: ngraham

Subscribers: plasma-devel

Tags: Plasma

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