diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2018-10-12 14:57:43 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-12 08:22:26 -0700 |
commit | 4263d1c3f57bd8080f821c564018d0a6f0b5cb3c (patch) | |
tree | 5de3d8684658630daf321eec17455098c99420c9 /mobile-widgets/qml/DiveDetails.qml | |
parent | 5d1c30acbf9dc220728fa9c04603d45c75f3f3b2 (diff) | |
download | subsurface-4263d1c3f57bd8080f821c564018d0a6f0b5cb3c.tar.gz |
QML, cleanup: remove stackView
There is no reason (any more?) to have a property defined
that basically renames the global pageStack into a local
pageView. Just cleanup.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'mobile-widgets/qml/DiveDetails.qml')
-rw-r--r-- | mobile-widgets/qml/DiveDetails.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml index aaa12dc7a..ea236dfaf 100644 --- a/mobile-widgets/qml/DiveDetails.qml +++ b/mobile-widgets/qml/DiveDetails.qml @@ -155,7 +155,7 @@ Kirigami.Page { var deletedId = currentItem.modelData.dive.id var deletedIndex = diveDetailsListView.currentIndex manager.deleteDive(deletedId) - stackView.pop() + pageStack.pop() showPassiveNotification("Dive deleted", 3000, "Undo", function() { diveDetailsListView.currentIndex = manager.undoDelete(deletedId) ? deletedIndex : diveDetailsListView.currentIndex @@ -206,7 +206,7 @@ Kirigami.Page { event.accepted = true; } else if (state === "add") { endEditMode() - stackView.pop() + pageStack.pop() event.accepted = true; } // if we were in view mode, don't accept the event and pop the page |