summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/divecartesianaxis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.cpp')
-rw-r--r--qt-ui/profile/divecartesianaxis.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/profile/divecartesianaxis.cpp b/qt-ui/profile/divecartesianaxis.cpp
index 358b85ef4..8b7269c35 100644
--- a/qt-ui/profile/divecartesianaxis.cpp
+++ b/qt-ui/profile/divecartesianaxis.cpp
@@ -178,3 +178,8 @@ void DiveCartesianAxis::setColor(const QColor& color)
defaultPen.setCosmetic(true);
setPen(defaultPen);
}
+
+QString DepthAxis::textForValue(double value)
+{
+ return get_depth_string(value, false, false);
+}