aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveprofileitem.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-07-21 19:32:46 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-23 07:51:22 -0700
commit607d450cd6d659a99fda9b73870d340a2e16af1f (patch)
tree9ecad03c2d085a8c94bbbda04326915e038c827a /qt-ui/profile/diveprofileitem.h
parent65eefe7b599575bf401c0adc9c61e42bc56fc4c9 (diff)
downloadsubsurface-607d450cd6d659a99fda9b73870d340a2e16af1f.tar.gz
Code cleanup: HeartRate item was doing insane things
This simplifies so much of the code that we were using to control the visibility of the HeartRate. now things are much saner. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveprofileitem.h')
-rw-r--r--qt-ui/profile/diveprofileitem.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/qt-ui/profile/diveprofileitem.h b/qt-ui/profile/diveprofileitem.h
index ddf8f5154..f98af5184 100644
--- a/qt-ui/profile/diveprofileitem.h
+++ b/qt-ui/profile/diveprofileitem.h
@@ -102,13 +102,9 @@ public:
virtual void modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
virtual void settingsChanged();
- void setVisibilitySettingsKey(const QString &setVisibilitySettingsKey);
- bool isVisible();
-
private:
void createTextItem(int seconds, int hr);
QString visibilityKey;
- bool visible;
};
class DiveGasPressureItem : public AbstractProfilePolygonItem {