mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add helper function to retrieve first gas
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6252d0cd3b
commit
a01bcd82aa
2 changed files with 9 additions and 0 deletions
|
@ -292,3 +292,10 @@ QString DiveObjectHelper::endPressure() const
|
|||
QString endPressure = getPressures(m_dive, END_PRESSURE);
|
||||
return endPressure;
|
||||
}
|
||||
|
||||
QString DiveObjectHelper::firstGas() const
|
||||
{
|
||||
QString gas;
|
||||
gas = get_gas_string(m_dive->cylinder[0].gasmix);
|
||||
return gas;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue