summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 dc0b34617..adb1bb62a 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -882,8 +882,8 @@ QVariant DivePlannerPointsModel::data(const QModelIndex& index, int role) const
switch(index.column()){
case GAS: return tr("Air");
case CCSETPOINT: return 0;
- case DEPTH: return p.depth;
- case DURATION: return p.time;
+ case DEPTH: return p.depth / 1000;
+ case DURATION: return p.time / 60;
}
}
return QVariant();