From 1809dbd00a4d17bf65c60014801b893e8ebe3e3b Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 8 Feb 2020 11:39:49 +0100 Subject: mobile/summary: remove dive summary calculation Since we now use a model to calculate the dive summary, there is no need to export recalculation of the dive summary via QMLInterface. Signed-off-by: Berthold Stoeger --- mobile-widgets/qml/DiveSummary.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mobile-widgets/qml') diff --git a/mobile-widgets/qml/DiveSummary.qml b/mobile-widgets/qml/DiveSummary.qml index 53eda5190..8f592ba4d 100644 --- a/mobile-widgets/qml/DiveSummary.qml +++ b/mobile-widgets/qml/DiveSummary.qml @@ -33,14 +33,13 @@ Kirigami.ScrollablePage { Connections { target: Backend onLengthChanged: { - Backend.summaryCalculation(selectionPrimary.currentIndex, selectionSecondary.currentIndex) + reload() } onVolumeChanged: { - Backend.summaryCalculation(selectionPrimary.currentIndex, selectionSecondary.currentIndex) + reload() } } - GridLayout { columns: 3 width: parent.width -- cgit v1.2.3-70-g09d2