mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
In statistics, ignore gas use of planned dives
When merged with real dives, those would double count otherwise. Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
a031dbbbd8
commit
1d8662006c
8 changed files with 16 additions and 14 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue