diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-02-03 07:31:03 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-02-03 07:31:03 -0800 |
commit | 08c42813e5d3af8ca702be4333daf46cc14c1d39 (patch) | |
tree | e75edfe480b20bd743887e1d868024624a2d5163 /core/subsurface-qt | |
parent | 414d7f2632273420aea8e6cb5291a40ea2111d13 (diff) | |
download | subsurface-08c42813e5d3af8ca702be4333daf46cc14c1d39.tar.gz |
Revert "In statistics, ignore gas use of planned dives"
This reverts commit 1d8662006cbb5edae941315e30ede381c23a817b.
Mistakenly pushed to master
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurface-qt')
-rw-r--r-- | core/subsurface-qt/DiveObjectHelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index cd7c4abca..9814f9a6a 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, false)) + if (!is_cylinder_used(m_dive, i)) continue; gas = m_dive->cylinder[i].type.description; if (!gas.isEmpty()) |