summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveSummary.qml
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-02-08 11:39:49 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-08 10:29:36 -0800
commit1809dbd00a4d17bf65c60014801b893e8ebe3e3b (patch)
tree02616cc963b5243050373a792bdcdfb668d2453a /mobile-widgets/qml/DiveSummary.qml
parenta5823a5b0dbfc9788346c88616993953c105f3d3 (diff)
downloadsubsurface-1809dbd00a4d17bf65c60014801b893e8ebe3e3b.tar.gz
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'mobile-widgets/qml/DiveSummary.qml')
-rw-r--r--mobile-widgets/qml/DiveSummary.qml5
1 files changed, 2 insertions, 3 deletions
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