From 1d8662006cbb5edae941315e30ede381c23a817b Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Thu, 2 Feb 2017 20:29:44 +0100 Subject: In statistics, ignore gas use of planned dives When merged with real dives, those would double count otherwise. Signed-off-by: Robert C. Helling --- core/subsurface-qt/DiveObjectHelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/subsurface-qt') diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index 9814f9a6a..cd7c4abca 100644 --- a/core/subsurface-qt/DiveObjectHelper.cpp +++ b/core/subsurface-qt/DiveObjectHelper.cpp @@ -186,7 +186,7 @@ QString DiveObjectHelper::gas() const */ QString gas, gases; for (int i = 0; i < MAX_CYLINDERS; i++) { - if (!is_cylinder_used(m_dive, i)) + if (!is_cylinder_used(m_dive, i, false)) continue; gas = m_dive->cylinder[i].type.description; if (!gas.isEmpty()) -- cgit v1.2.3-70-g09d2