diff options
-rw-r--r-- | icons/Oxy_change.png | bin | 0 -> 2613 bytes | |||
-rw-r--r-- | profile-widget/diveeventitem.cpp | 2 | ||||
-rw-r--r-- | subsurface.qrc | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/icons/Oxy_change.png b/icons/Oxy_change.png Binary files differnew file mode 100644 index 000000000..f023a00b1 --- /dev/null +++ b/icons/Oxy_change.png 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 diff --git a/subsurface.qrc b/subsurface.qrc index 0e910675a..3831dd18b 100644 --- a/subsurface.qrc +++ b/subsurface.qrc @@ -33,6 +33,7 @@ <file alias="gaschangeAir">icons/Air_change.png</file> <file alias="gaschangeNitrox">icons/Nx_change.png</file> <file alias="gaschangeTrimix">icons/Tmx_change.png</file> + <file alias="gaschangeOxy">icons/Oxy_change.png</file> <file alias="flag">icons/flag.png</file> <file alias="flagDark">icons/flag_dark.png</file> <file alias="flagLight">icons/flag_light.png</file> |