From bed11f79a1392c2f13f56c47e1a50c989c40f328 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel <dirk@hohndel.org> Date: Mon, 21 Dec 2020 04:43:22 -0800 Subject: mobile: remove non-functional code This never ever worked to trigger a profile update. The code is nonsensical as we cannot access the QMLProfile in a model delegate this way from outside the delegate. Signed-off-by: Dirk Hohndel <dirk@hohndel.org> --- mobile-widgets/qml/DiveDetailsEdit.qml | 3 --- 1 file changed, 3 deletions(-) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qml/DiveDetailsEdit.qml b/mobile-widgets/qml/DiveDetailsEdit.qml index 99ae02408..34c7a0fe8 100644 --- a/mobile-widgets/qml/DiveDetailsEdit.qml +++ b/mobile-widgets/qml/DiveDetailsEdit.qml @@ -115,9 +115,6 @@ Item { endpressure, usedGas, usedCyl, detailsEdit.rating, detailsEdit.visibility, state) - // trigger the profile to be redrawn - QMLProfile.diveId = dive_id - Qt.inputMethod.hide() // now make sure we directly show the saved dive (this may be a new dive, or it may have moved) clearDetailsEdit() -- cgit v1.2.3-70-g09d2