From 79b04a2f01c96ceb1afea73f252e69a6c6d4d033 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 10 Jan 2020 08:41:16 +0800 Subject: mobile: remove selectedDiveTimeStamp logic Since the selection is now handled in the core this is not needed anymore. Signed-off-by: Berthold Stoeger --- mobile-widgets/qml/DiveDetails.qml | 2 -- 1 file changed, 2 deletions(-) (limited to 'mobile-widgets/qml') diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml index 8419b5d09..5d52b89ca 100644 --- a/mobile-widgets/qml/DiveDetails.qml +++ b/mobile-widgets/qml/DiveDetails.qml @@ -214,8 +214,6 @@ Kirigami.Page { onCurrentItemChanged: { if (currentItem && currentItem.modelData) { - // this is used when loading dives to maintain relative position in the dive list - manager.selectedDiveTimestamp = currentItem.modelData.date // make sure the core data structures reflect that this dive is selected manager.selectDive(currentItem.modelData.id) // update the map to show the highlighted flag and center on it -- cgit v1.2.3-70-g09d2