aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r--qt-ui/profile/profilewidget2.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index b7f5e0030..ca0bdec2b 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -263,6 +263,8 @@ void ProfileWidget2::setupItemSizes()
itemPos.heartBeat.pos.on.setX(3);
itemPos.heartBeat.pos.on.setY(60);
+ itemPos.heartBeat.expanded.setP1(QPointF(0,0));
+ itemPos.heartBeat.expanded.setP2(QPointF(0,20));
itemPos.dcLabel.on.setX(3);
itemPos.dcLabel.on.setY(100);
@@ -547,6 +549,7 @@ void ProfileWidget2::setProfileState()
cylinderPressureAxis->setPos(itemPos.cylinder.pos.on);
temperatureAxis->setPos(itemPos.temperature.pos.on);
heartBeatAxis->setPos(itemPos.heartBeat.pos.on);
+ heartBeatAxis->setLine(itemPos.heartBeat.expanded);
meanDepth->setVisible(true);
diveComputerText->setVisible(true);