summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-26 09:59:08 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-26 09:59:08 -0700
commita61c04bb584311fd7ebe397f5e5f5bd159b18b27 (patch)
tree4da8479f252bee0aa31506c5e7f898b6a5c9903c /qt-ui/diveplanner.cpp
parentcfe865dd0c78a81717993b479894fd0e823767d3 (diff)
parent1093d6235b5657746f2cb4524ed08cf13c80c3bb (diff)
downloadsubsurface-a61c04bb584311fd7ebe397f5e5f5bd159b18b27.tar.gz
Merge branch 'atdotde'
Signed-off-by: Dirk Hohndel <dirk@hohndel.org> Conflicts: qt-ui/diveplanner.cpp
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r--qt-ui/diveplanner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index ada2b4e73..312a5ffff 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -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));
}