summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/DiveList.qml6
1 files changed, 2 insertions, 4 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index a2cb1e40c..b2c99a02b 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -353,8 +353,7 @@ Kirigami.ScrollablePage {
}
Controls.Label {
text: {
- var trip = diveListView.model.tripIdToObject(section);
- diveListView.model.tripShortDate(trip);
+ diveListView.model.tripShortDate(section)
}
color: subsurfaceTheme.primaryTextColor
font.pointSize: subsurfaceTheme.smallPointSize
@@ -379,8 +378,7 @@ Kirigami.ScrollablePage {
Controls.Label {
id: sectionText
text: {
- var trip = diveListView.model.tripIdToObject(section);
- diveListView.model.tripTitle(trip);
+ diveListView.model.tripTitle(section)
}
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
visible: text !== ""