Migrate to KF6 Page actions

This commit is contained in:
Bart De Vries 2023-04-25 13:02:23 +02:00
parent b1414a18f2
commit 8c06247e16
5 changed files with 5 additions and 10 deletions

View File

@ -39,8 +39,7 @@ Kirigami.ScrollablePage {
}
}
// TODO: KF6 replace contextualActions with actions
contextualActions: pageActions
actions: pageActions
GenericEntryListView {
id: episodeList

View File

@ -63,8 +63,7 @@ Kirigami.ScrollablePage {
}
}
// TODO: KF6 replace contextualActions with actions
contextualActions: pageActions
actions: pageActions
header: Loader {
anchors.right: parent.right

View File

@ -64,8 +64,7 @@ Kirigami.ScrollablePage {
}
}
// TODO: KF6 replace contextualActions with actions
contextualActions: Kirigami.Action {
actions: Kirigami.Action {
id: searchActionButton
icon.name: "search"
text: i18nc("@action:intoolbar", "Search")

View File

@ -136,8 +136,7 @@ Kirigami.ScrollablePage {
}
}
// TODO: KF6 replace contextualActions with actions
contextualActions: pageActions
actions: pageActions
header: Loader {
anchors.right: parent.right

View File

@ -46,8 +46,7 @@ Kirigami.ScrollablePage {
}
}
// TODO: KF6 replace contextualActions with actions
contextualActions: pageActions
actions: pageActions
GenericEntryListView {
id: queueList