diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-02-16 10:57:11 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-16 10:57:11 -0800 |
commit | 582fb693a043ef861cbaeaf8a69936dc0680f070 (patch) | |
tree | 8e6d833b940365fcf96de1c0398065aec41cccbd /qt-ui/profile/diveprofileitem.cpp | |
parent | e0f8ec7144f2a952f003b8ad19aaa26d58537f4e (diff) | |
download | subsurface-582fb693a043ef861cbaeaf8a69936dc0680f070.tar.gz |
New profile: improve mean depth line
Show decimal depth and make the line length more appropriate for the dive
profile shown.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveprofileitem.cpp')
-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 20ad3992b..a16ef7dd3 100644 --- a/qt-ui/profile/diveprofileitem.cpp +++ b/qt-ui/profile/diveprofileitem.cpp @@ -531,8 +531,8 @@ void MeanDepthLine::setLine(qreal x1, qreal y1, qreal x2, qreal y2) void MeanDepthLine::setMeanDepth(int value) { - leftText->setText(get_depth_string(value, false, false)); - rightText->setText(get_depth_string(value, false, false)); + leftText->setText(get_depth_string(value, false, true)); + rightText->setText(get_depth_string(value, false, true)); meanDepth = value; } |