summaryrefslogtreecommitdiffstats
path: root/profile-widget/diveeventitem.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2018-01-20 17:58:52 +0100
committerGravatar Robert C. Helling <helling@atdotde.de>2018-01-21 15:24:46 +0100
commit7b508e41cd1304834511f87dbe399398517aaeff (patch)
treeae6ca6ae95990b3f5d64c33b5a509d4dd432917c /profile-widget/diveeventitem.h
parentc866b82f35365136d52d3113517aa6d5627eded3 (diff)
downloadsubsurface-7b508e41cd1304834511f87dbe399398517aaeff.tar.gz
Show ICD events data in infobox
If a gas switch violates our ICD criteria, show this in the info box. Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'profile-widget/diveeventitem.h')
-rw-r--r--profile-widget/diveeventitem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/profile-widget/diveeventitem.h b/profile-widget/diveeventitem.h
index d00d3ce85..51eead5d0 100644
--- a/profile-widget/diveeventitem.h
+++ b/profile-widget/diveeventitem.h
@@ -13,7 +13,7 @@ class DiveEventItem : public DivePixmapItem {
public:
DiveEventItem(QObject *parent = 0);
virtual ~DiveEventItem();
- void setEvent(struct event *ev);
+ void setEvent(struct event *ev, struct gasmix *lastgasmix);
struct event *getEvent();
void eventVisibilityChanged(const QString &eventName, bool visible);
void setVerticalAxis(DiveCartesianAxis *axis);
@@ -25,7 +25,7 @@ slots:
void recalculatePos(bool instant = false);
private:
- void setupToolTipString();
+ void setupToolTipString(struct gasmix *lastgasmix);
void setupPixmap();
DiveCartesianAxis *vAxis;
DiveCartesianAxis *hAxis;