summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-12 22:01:39 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-07 18:47:18 -0800
commit45d37fd51b06680e8b2e75973217e8663597ede3 (patch)
tree75db59d5b98c5a5a9e0db1c3ec10920b880dbf70
parentb92b5998ffab5720aede5c6e0cf7978c2a358763 (diff)
downloadsubsurface-45d37fd51b06680e8b2e75973217e8663597ede3.tar.gz
mobile UI: remove obsolete access to already removed model role
We no longer have a dive role - on the plus side, we also don't use this variable, so I guess this isn't a big deal. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qml/DiveDetails.qml1
1 files changed, 0 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml
index 8150b381c..fbbda3516 100644
--- a/mobile-widgets/qml/DiveDetails.qml
+++ b/mobile-widgets/qml/DiveDetails.qml
@@ -253,7 +253,6 @@ Kirigami.Page {
// set things up for editing - so make sure that the detailsEdit has
// all the right data (using the property aliases set up above)
- var dive = currentItem.modelData.dive
var modelData = currentItem.modelData
dive_id = modelData.id
number = modelData.number