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

Nathaniel Graham noreply at phabricator.kde.org
Fri May 31 14:03:40 BST 2019


ngraham added a comment.


  Thanks, it works now!

INLINE COMMENTS

> keyboard_config.cpp:112
> +        QList<LayoutUnit> x11layouts = X11Helper::getLayoutsList();
> +        foreach(LayoutUnit layoutUnit, x11layouts) {
> +            layouts.append(layoutUnit);

While you're touching this, port away from `foreach`, which is deprecated.

Also more const

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D21497

To: McPain, ngraham, broulik
Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190531/4d36857e/attachment.html>


More information about the Plasma-devel mailing list