summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/qt5/inputpage.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/qt5/inputpage.cc b/ui/qt5/inputpage.cc
index f0816b4..2807c02 100644
--- a/ui/qt5/inputpage.cc
+++ b/ui/qt5/inputpage.cc
@@ -12,6 +12,7 @@
#include "inputpage.hh"
+#include <QDebug>
#include <QLabel>
#include <QVBoxLayout>
@@ -51,7 +52,8 @@ InputPage::InputPage(QWidget *parent) : HorizonWizardPage(parent) {
layoutList->setSelectionMode(QAbstractItemView::SingleSelection);
layoutList->setWhatsThis(tr("This is a list of keyboard layouts. Select one to choose the layout of the keyboard you will be using on your Adélie Linux computer."));
for(auto &map : valid_keymaps) {
- layoutList->addItem(map.c_str());
+ QIcon myIcon = QIcon::fromTheme("input-keyboard");
+ new QListWidgetItem(myIcon, map.c_str(), layoutList);
}
registerField("keymap*", layoutList);