diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-02-23 15:28:31 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-23 15:28:31 -0800 |
commit | b5a02e50aa94c10d2c9f2062af6b4e8d9cfb9294 (patch) | |
tree | bbb1b714255c8c66fd9bf9d4d05d7f2d8f1c9d24 /qt-ui/profile/profilewidget2.cpp | |
parent | 76393a2f536dd6823b08ec3a53ffcb16b216bbf4 (diff) | |
download | subsurface-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.cpp | 2 |
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)); |