Keyboard: code-docs, copyright

This commit is contained in:
Adriaan de Groot 2017-06-19 10:46:30 -04:00 committed by Philip
parent 35c1ab61bf
commit 7f08ea9d15

View File

@ -1,6 +1,7 @@
/* === This file is part of Calamares - <http://github.com/calamares> === /* === This file is part of Calamares - <http://github.com/calamares> ===
* *
* Copyright 2014-2016, Teo Mrnjavac <teo@kde.org> * Copyright 2014-2016, Teo Mrnjavac <teo@kde.org>
* Copyright 2017, Adriaan de Groot <groot@kde.org>
* *
* Portions from the Manjaro Installation Framework * Portions from the Manjaro Installation Framework
* by Roland Singer <roland@manjaro.org> * by Roland Singer <roland@manjaro.org>
@ -292,6 +293,9 @@ KeyboardPage::onListLayoutCurrentItemChanged( const QModelIndex& current,
updateVariants( QPersistentModelIndex( current ) ); updateVariants( QPersistentModelIndex( current ) );
} }
/* Returns stringlist with suitable setxkbmap command-line arguments
* to set the given @p layout and @p variant.
*/
static inline QStringList xkbmap_args( QStringList&& r, const QString& layout, const QString& variant) static inline QStringList xkbmap_args( QStringList&& r, const QString& layout, const QString& variant)
{ {
r << "-layout" << layout; r << "-layout" << layout;