From fcc4be6ea04dfebc94088ddfeba41b9c953ca474 Mon Sep 17 00:00:00 2001 From: Stefan Fuchs Date: Wed, 18 Oct 2017 12:38:37 +0200 Subject: Add a icon for gaschange to Oxy with all green tank shoulder color Signed-off-by: Stefan Fuchs --- profile-widget/diveeventitem.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'profile-widget') diff --git a/profile-widget/diveeventitem.cpp b/profile-widget/diveeventitem.cpp index 8d0312bf8..f81fa41fe 100644 --- a/profile-widget/diveeventitem.cpp +++ b/profile-widget/diveeventitem.cpp @@ -106,6 +106,8 @@ void DiveEventItem::setupPixmap() setPixmap(EVENT_PIXMAP_BIGGER(":gaschangeTrimix")); else if (gasmix_is_air(mix)) setPixmap(EVENT_PIXMAP_BIGGER(":gaschangeAir")); + else if (mix->o2.permille == 1000) + setPixmap(EVENT_PIXMAP_BIGGER(":gaschangeOxy")); else setPixmap(EVENT_PIXMAP_BIGGER(":gaschangeNitrox")); #ifdef SAMPLE_FLAGS_SEVERITY_SHIFT -- cgit v1.2.3-70-g09d2