Add title and icon to setting

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
Carl Schwan 2022-12-13 22:16:10 +01:00
parent f12aa5d88f
commit e682304747

View file

@ -119,7 +119,10 @@ Kirigami.ApplicationWindow {
Kirigami.BasicListItem {
text: i18n("Settings")
onClicked: pageStack.pushDialogLayer('qrc:/qml/Settings.qml');
icon: "settings-configure"
onClicked: pageStack.pushDialogLayer('qrc:/qml/Settings.qml', {}, {
title: i18n("Settings"),
});
}
}
}