diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-07-29 16:34:57 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-29 13:06:19 -0700 |
commit | 078332bae1263ebc9419ab7a818e1d727406beab (patch) | |
tree | 9869ac44e057f82f64201a77883fd3a8c6b2ac8d /qt-ui/profile/profilewidget2.cpp | |
parent | 936f057ddc963d9ea0e60c94c261275deca85458 (diff) | |
download | subsurface-078332bae1263ebc9419ab7a818e1d727406beab.tar.gz |
Change the Ruler text values when metric system changes.
"ups", as I did this in Metric system I forgot to update
to imperial when the user selected it.
Fixes #665
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index 6ec51e0e6..c1bdccd79 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -450,7 +450,6 @@ void ProfileWidget2::plotDive(struct dive *d, bool force) temperatureAxis->setMinimum(pInfo.mintemp); temperatureAxis->setMaximum(pInfo.maxtemp); - if (pInfo.maxhr) { heartBeatAxis->setMinimum(pInfo.minhr); heartBeatAxis->setMaximum(pInfo.maxhr); |