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 <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-03-26 11:48:47 -07:00
parent 0301fc6905
commit 241d378f14

View file

@ -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()
}
}