mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
fixup: Don't confuse EAD and END
The previous patch (Planner: add best mix EAD preference) used the term EAD (equivalent air depth) in variable names and strings, when it should have been END (equivalent narcotic depth). They're not the same thing and shouldn't be confused. Signed-off-by: Rick Walsh <rickmwalsh@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9b29173363
commit
1e607ae98d
8 changed files with 26 additions and 26 deletions
|
@ -915,9 +915,9 @@ int DivePlannerSettings::decopo2() const
|
|||
return prefs.decopo2;
|
||||
}
|
||||
|
||||
int DivePlannerSettings::bestmixead() const
|
||||
int DivePlannerSettings::bestmixend() const
|
||||
{
|
||||
return prefs.bestmixead;
|
||||
return prefs.bestmixend;
|
||||
}
|
||||
|
||||
int DivePlannerSettings::reserveGas() const
|
||||
|
@ -1094,13 +1094,13 @@ void DivePlannerSettings::setDecopo2(int value)
|
|||
emit decopo2Changed(value);
|
||||
}
|
||||
|
||||
void DivePlannerSettings::setBestmixead(int value)
|
||||
void DivePlannerSettings::setBestmixend(int value)
|
||||
{
|
||||
QSettings s;
|
||||
s.beginGroup(group);
|
||||
s.setValue("bestmixead", value);
|
||||
prefs.bestmixead = value;
|
||||
emit bestmixeadChanged(value);
|
||||
s.setValue("bestmixend", value);
|
||||
prefs.bestmixend = value;
|
||||
emit bestmixendChanged(value);
|
||||
}
|
||||
|
||||
void DivePlannerSettings::setReserveGas(int value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue