mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Merge branch 'boyle-ready' of https://github.com/Slagvi/subsurface
Fixed merge conflicts in deco.c dive.h planner.c Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
commit
d93984448c
10 changed files with 345 additions and 207 deletions
|
@ -397,6 +397,12 @@ void DivePlannerPointsModel::triggerGFLow()
|
|||
}
|
||||
}
|
||||
|
||||
void DivePlannerPointsModel::setConservatism(int level)
|
||||
{
|
||||
prefs.conservatism_level = level;
|
||||
emit dataChanged(createIndex(0, 0), createIndex(rowCount() - 1, COLUMNS - 1));
|
||||
}
|
||||
|
||||
void DivePlannerPointsModel::setSurfacePressure(int pressure)
|
||||
{
|
||||
diveplan.surface_pressure = pressure;
|
||||
|
|
|
@ -65,6 +65,7 @@ slots:
|
|||
void triggerGFHigh();
|
||||
void setGFLow(const int ghflow);
|
||||
void triggerGFLow();
|
||||
void setConservatism(int level);
|
||||
void setSurfacePressure(int pressure);
|
||||
void setSalinity(int salinity);
|
||||
int getSurfacePressure();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue