From 7f08ea9d15fad2d66462107156a8f6ebe6187496 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 19 Jun 2017 10:46:30 -0400 Subject: [PATCH] Keyboard: code-docs, copyright --- src/modules/keyboard/KeyboardPage.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/keyboard/KeyboardPage.cpp b/src/modules/keyboard/KeyboardPage.cpp index 76eecc85c..e8a938629 100644 --- a/src/modules/keyboard/KeyboardPage.cpp +++ b/src/modules/keyboard/KeyboardPage.cpp @@ -1,6 +1,7 @@ /* === This file is part of Calamares - === * * Copyright 2014-2016, Teo Mrnjavac + * Copyright 2017, Adriaan de Groot * * Portions from the Manjaro Installation Framework * by Roland Singer @@ -292,6 +293,9 @@ KeyboardPage::onListLayoutCurrentItemChanged( const QModelIndex& 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) { r << "-layout" << layout;