mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
Show CC-sp in bar, and not mbar
Fixes #257 Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
755ea74492
commit
4c3f51291e
1 changed files with 1 additions and 1 deletions
|
@ -1039,7 +1039,7 @@ QVariant DivePlannerPointsModel::data(const QModelIndex& index, int role) const
|
|||
if(role == Qt::DisplayRole) {
|
||||
divedatapoint p = divepoints.at(index.row());
|
||||
switch(index.column()) {
|
||||
case CCSETPOINT: return p.po2;
|
||||
case CCSETPOINT: return (double) p.po2 / 1000;
|
||||
case DEPTH: return rint(get_depth_units(p.depth, NULL, NULL));
|
||||
case DURATION: return p.time / 60;
|
||||
case GAS: return dpGasToStr(p);
|
||||
|
|
Loading…
Reference in a new issue