diff options
author | Gopichand Paturi <gopichandpaturi@gmail.com> | 2014-03-02 16:01:27 +0530 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-02 08:16:29 -0800 |
commit | 9b07acbee82a48dc80a3b75cc8a8dcd016d03593 (patch) | |
tree | 243dfd5321c8c933742d9b099356deae41659f3c /qt-ui | |
parent | b3c0f8938dd0fdb8b2d7894841fddeec70f90f9c (diff) | |
download | subsurface-9b07acbee82a48dc80a3b75cc8a8dcd016d03593.tar.gz |
Add Units to mean depth value
Fixes #445
Signed-off-by: Gopichand Paturi <gopichandpaturi@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/profile/diveprofileitem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |