aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveeventitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile/diveeventitem.cpp')
-rw-r--r--qt-ui/profile/diveeventitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/diveeventitem.cpp b/qt-ui/profile/diveeventitem.cpp
index a75b8956d..2f2bec60e 100644
--- a/qt-ui/profile/diveeventitem.cpp
+++ b/qt-ui/profile/diveeventitem.cpp
@@ -88,7 +88,7 @@ void DiveEventItem::setupToolTipString()
name += ": ";
if (he)
name += QString("%1/%2").arg(o2).arg(he);
- else if (is_air(o2, he))
+ else if (o2 == 21) // don't use is_air() as that assumes permille
name += tr("air");
else
name += QString(tr("EAN%1")).arg(o2);