QML UI: adapt for latest Kirigami

In commit 50ebdd020e3c of the Kirigami project the syntax with which
actions are added to pages has changed. This commit tracks that, adds the
new file that was added in Kirigami and also removes the now obsolete
context menus (since we have a working back button on iOS now)

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-04-19 04:51:19 -07:00
parent fe62da3a6b
commit c6dbbe1aac
5 changed files with 20 additions and 47 deletions

View file

@ -216,10 +216,10 @@ Kirigami.ScrollablePage {
Behavior on opacity { NumberAnimation { duration: Kirigami.Units.shortDuration } }
onVisibleChanged: {
if (visible) {
page.mainAction = page.saveAction
page.actions.main = page.saveAction
title = "Cloud credentials"
} else {
page.mainAction = page.addDiveAction
page.actions.main = page.addDiveAction
title = "Dive list"
}
}