diff options
author | Robert C. Helling <helling@atdotde.de> | 2018-01-20 17:58:52 +0100 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2018-01-21 15:24:46 +0100 |
commit | 7b508e41cd1304834511f87dbe399398517aaeff (patch) | |
tree | ae6ca6ae95990b3f5d64c33b5a509d4dd432917c /profile-widget/diveeventitem.h | |
parent | c866b82f35365136d52d3113517aa6d5627eded3 (diff) | |
download | subsurface-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.h | 4 |
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; |