diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-03-26 11:48:47 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-26 11:49:46 -0700 |
commit | 241d378f1402b767d65873f93d4eec68730d2755 (patch) | |
tree | 447da47841d9e5a6da19a04fc094b85b8cf170b7 /mobile-widgets | |
parent | 0301fc6905c2ed982365cdaaf47f5a3b6c9c5c35 (diff) | |
download | subsurface-241d378f1402b767d65873f93d4eec68730d2755.tar.gz |
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>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/TripDetails.qml | 4 |
1 files 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() } } |