From 4263d1c3f57bd8080f821c564018d0a6f0b5cb3c Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Fri, 12 Oct 2018 14:57:43 +0200 Subject: 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 --- mobile-widgets/qml/DiveDetails.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mobile-widgets/qml/DiveDetails.qml') 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 -- cgit v1.2.3-70-g09d2