diff options
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.cpp')
-rw-r--r-- | qt-ui/profile/divecartesianaxis.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/profile/divecartesianaxis.cpp b/qt-ui/profile/divecartesianaxis.cpp index 8b7269c35..a12175461 100644 --- a/qt-ui/profile/divecartesianaxis.cpp +++ b/qt-ui/profile/divecartesianaxis.cpp @@ -183,3 +183,8 @@ QString DepthAxis::textForValue(double value) { return get_depth_string(value, false, false); } + +QString TimeAxis::textForValue(double value) +{ + return QString::number(value / 60); +}
\ No newline at end of file |