diff --git a/src/contents/ui/start_page.qml b/src/contents/ui/start_page.qml index fc0e923..f25417a 100644 --- a/src/contents/ui/start_page.qml +++ b/src/contents/ui/start_page.qml @@ -7,16 +7,18 @@ import org.kde.kirigami 2.20 as Kirigami Kirigami.ScrollablePage { title: i18nc("@title", "Kountdown") - actions.main: Kirigami.Action { - id: addAction - icon.name: "list-add" - text: i18nc("@action:button", "Add kountdown") - onTriggered: kountdownModel.append({ - name: "Kirigami Action added card!", - description: "Congratulations, your Kirigami Action works!", - date: 1000 - }) - } + actions: [ + Kirigami.Action { + id: addAction + icon.name: "list-add" + text: i18nc("@action:button", "Add kountdown") + onTriggered: kountdownModel.append({ + name: "Kirigami Action added card!", + description: "Congratulations, your Kirigami Action works!", + date: 1000 + }) + } + ] // List view for card elements