From 9b07acbee82a48dc80a3b75cc8a8dcd016d03593 Mon Sep 17 00:00:00 2001 From: Gopichand Paturi Date: Sun, 2 Mar 2014 16:01:27 +0530 Subject: Add Units to mean depth value Fixes #445 Signed-off-by: Gopichand Paturi Signed-off-by: Dirk Hohndel --- qt-ui/profile/diveprofileitem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qt-ui') diff --git a/qt-ui/profile/diveprofileitem.cpp b/qt-ui/profile/diveprofileitem.cpp index 8bfad9b40..77db58eca 100644 --- a/qt-ui/profile/diveprofileitem.cpp +++ b/qt-ui/profile/diveprofileitem.cpp @@ -613,8 +613,8 @@ void MeanDepthLine::setLine(qreal x1, qreal y1, qreal x2, qreal y2) void MeanDepthLine::setMeanDepth(int value) { - leftText->setText(get_depth_string(value, false, true)); - rightText->setText(get_depth_string(value, false, true)); + leftText->setText(get_depth_string(value, true, true)); + rightText->setText(get_depth_string(value, true, true)); meanDepth = value; } -- cgit v1.2.3-70-g09d2