Migrate actions.main to actions (KF6)

This commit is contained in:
Florian RICHER 2024-01-01 17:48:21 +01:00
parent 6902f2a50b
commit 8484ea9c8b

View file

@ -7,7 +7,8 @@ import org.kde.kirigami 2.20 as Kirigami
Kirigami.ScrollablePage {
title: i18nc("@title", "Kountdown")
actions.main: Kirigami.Action {
actions: [
Kirigami.Action {
id: addAction
icon.name: "list-add"
text: i18nc("@action:button", "Add kountdown")
@ -17,6 +18,7 @@ Kirigami.ScrollablePage {
date: 1000
})
}
]
// List view for card elements