aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/DiveDetails.qml10
1 files changed, 0 insertions, 10 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml
index 86b069444..e505d7bc1 100644
--- a/mobile-widgets/qml/DiveDetails.qml
+++ b/mobile-widgets/qml/DiveDetails.qml
@@ -351,17 +351,7 @@ Kirigami.Page {
airtemp = modelData.airTemp
watertemp = modelData.waterTemp
suitIndex = manager.suitList.indexOf(modelData.suit)
- if (modelData.buddy.indexOf(",") > 0) {
- buddyIndex = manager.buddyList.indexOf(modelData.buddy.split(",", 1).toString())
- } else {
- buddyIndex = manager.buddyList.indexOf(modelData.buddy)
- }
buddyText = modelData.buddy;
- if (modelData.diveMaster.indexOf(",") > 0) {
- divemasterIndex = manager.divemasterList.indexOf(modelData.diveMaster.split(",", 1).toString())
- } else {
- divemasterIndex = manager.divemasterList.indexOf(modelData.diveMaster)
- }
divemasterText = modelData.diveMaster
notes = modelData.notes
if (modelData.singleWeight) {