aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-23 15:28:31 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-23 15:28:31 -0800
commitb5a02e50aa94c10d2c9f2062af6b4e8d9cfb9294 (patch)
treebbb1b714255c8c66fd9bf9d4d05d7f2d8f1c9d24 /qt-ui/profile/profilewidget2.cpp
parent76393a2f536dd6823b08ec3a53ffcb16b216bbf4 (diff)
downloadsubsurface-b5a02e50aa94c10d2c9f2062af6b4e8d9cfb9294.tar.gz
New profile: create new class for DiveHeartrateItem
This allows us to give it a different color (red) and make it a smaller size. While implementing this I also fixed the size of the temperature text in the new profile. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r--qt-ui/profile/profilewidget2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index 2d4b71f46..9094669fd 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -76,7 +76,7 @@ ProfileWidget2::ProfileWidget2(QWidget *parent) :
pheGasItem( new PartialPressureGasItem()),
po2GasItem( new PartialPressureGasItem()),
heartBeatAxis(new DiveCartesianAxis()),
- heartBeatItem(new DiveTemperatureItem()) // FIXME: making this a DiveTemperatureItem is a hack
+ heartBeatItem(new DiveHeartrateItem())
{
memset(&plotInfo, 0, sizeof(plotInfo));