From 241d378f1402b767d65873f93d4eec68730d2755 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 26 Mar 2020 11:48:47 -0700 Subject: mobile/cleanup: pageStack.pop() doesn't take a string argument This happens to do the expected thing, anyway, but let's not keep this broken code around. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/TripDetails.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile-widgets/qml/TripDetails.qml b/mobile-widgets/qml/TripDetails.qml index ce1ba71dd..4c82c053b 100644 --- a/mobile-widgets/qml/TripDetails.qml +++ b/mobile-widgets/qml/TripDetails.qml @@ -57,7 +57,7 @@ Kirigami.Page { manager.appendTextToLog("Save trip details triggered") manager.updateTripDetails(tripId, tripLocationField.text, tripNotesField.text) Qt.inputMethod.hide() - pageStack.pop("TripDetails") + pageStack.pop() } } property QtObject cancelAction: Kirigami.Action { @@ -68,7 +68,7 @@ Kirigami.Page { onTriggered: { manager.appendTextToLog("Cancel trip details edit") state = "view" - pageStack.pop("TripDetails") + pageStack.pop() } } -- cgit v1.2.3-70-g09d2