mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Merge branch 'atdotde'
Signed-off-by: Dirk Hohndel <dirk@hohndel.org> Conflicts: qt-ui/diveplanner.cpp
This commit is contained in:
commit
a61c04bb58
2 changed files with 5 additions and 7 deletions
|
@ -441,13 +441,13 @@ DivePlannerPointsModel *DivePlannerPointsModel::instance()
|
|||
|
||||
void DivePlannerPointsModel::setBottomSac(int sac)
|
||||
{
|
||||
diveplan.bottomsac = sac;
|
||||
diveplan.bottomsac = sac * 1000;
|
||||
emit dataChanged(createIndex(0, 0), createIndex(rowCount() - 1, COLUMNS - 1));
|
||||
}
|
||||
|
||||
void DivePlannerPointsModel::setDecoSac(int sac)
|
||||
{
|
||||
diveplan.decosac = sac;
|
||||
diveplan.decosac = sac * 1000;
|
||||
emit dataChanged(createIndex(0, 0), createIndex(rowCount() - 1, COLUMNS - 1));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue