diff options
| author | 2017-10-18 12:38:37 +0200 | |
|---|---|---|
| committer | 2017-10-18 06:47:44 -0400 | |
| commit | fcc4be6ea04dfebc94088ddfeba41b9c953ca474 (patch) | |
| tree | acc70d153065dd2f7b2e8135e92cf9358cb4da58 /profile-widget/diveeventitem.cpp | |
| parent | 432110ac8faa3775feab35d53a9cdbeecfa7fe27 (diff) | |
| download | subsurface-fcc4be6ea04dfebc94088ddfeba41b9c953ca474.tar.gz | |
Add a icon for gaschange to Oxy with all green tank shoulder color
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'profile-widget/diveeventitem.cpp')
| -rw-r--r-- | profile-widget/diveeventitem.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 |