diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-12-06 21:36:21 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-06 12:19:26 -0800 |
commit | 76c97f2e5783c82f24cbf03c7279a67f133435dc (patch) | |
tree | 3fc71755c1808c7d05432809403534c1f1a8b53f /qt-ui/profile/profilewidget2.cpp | |
parent | f57796762999d9c4fb4f2e5f55310c5ee0e6c2c2 (diff) | |
download | subsurface-76c97f2e5783c82f24cbf03c7279a67f133435dc.tar.gz |
profilewidget2.cpp: hide the heartbeat graph on an empty state
Opening Subsurface for the first time with heartbeat graph visible
and then immediately doing File->New shows the logo/background in the
profile space while hiding everything except the heartbeat graph.
This patch makes sure that the graph is hidden with everything
else on an empty profile state.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index 3ccd1bb6d..9eb1e2194 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -941,6 +941,8 @@ void ProfileWidget2::setEmptyState() gflineItem->setVisible(false); mouseFollowerHorizontal->setVisible(false); mouseFollowerVertical->setVisible(false); + heartBeatAxis->setVisible(false); + heartBeatItem->setVisible(false); #define HIDE_ALL(TYPE, CONTAINER) \ Q_FOREACH (TYPE *item, CONTAINER) item->setVisible(false); |