diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-12-21 04:43:22 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-21 13:12:37 -0800 |
commit | bed11f79a1392c2f13f56c47e1a50c989c40f328 (patch) | |
tree | 16032613719290c5734c1de9b72636f2496fef80 | |
parent | a3e0d1ceb4bdf97c6e11c98efa0cc8b6c56e1f78 (diff) | |
download | subsurface-bed11f79a1392c2f13f56c47e1a50c989c40f328.tar.gz |
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>
-rw-r--r-- | mobile-widgets/qml/DiveDetailsEdit.qml | 3 |
1 files changed, 0 insertions, 3 deletions
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() |