From 7b508e41cd1304834511f87dbe399398517aaeff Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Sat, 20 Jan 2018 17:58:52 +0100 Subject: 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 --- profile-widget/diveeventitem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'profile-widget/diveeventitem.h') 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; -- cgit v1.2.3-70-g09d2