diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2018-06-16 16:18:47 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-06-17 06:36:20 +0900 |
commit | 632e6bb7c71185f125b19a718f3ec322f4ca9d4d (patch) | |
tree | 44e8170a9236620b9fe1402860e66da4b4dda628 /profile-widget/diveeventitem.cpp | |
parent | c734a77cf53192c75be2c5f1dd5063350e144da2 (diff) | |
download | subsurface-632e6bb7c71185f125b19a718f3ec322f4ca9d4d.tar.gz |
Remove a useless translation in diveeventitem.cpp
Giving the string ": %1" to translation makes no sense.
And it's also not consistent with code a few lines below this line.
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, 1 insertions, 1 deletions
diff --git a/profile-widget/diveeventitem.cpp b/profile-widget/diveeventitem.cpp index c9fe4bf08..9e868e0b3 100644 --- a/profile-widget/diveeventitem.cpp +++ b/profile-widget/diveeventitem.cpp @@ -194,7 +194,7 @@ void DiveEventItem::setupToolTipString(struct gasmix *lastgasmix) } *lastgasmix = *mix; } else if (same_string(internalEvent->name, "modechange")) { - name += tr(": %1").arg(divemode_text_ui[internalEvent->value]); + name += QString(": %1").arg(divemode_text_ui[internalEvent->value]); } else if (value) { if (type == SAMPLE_EVENT_PO2 && same_string(internalEvent->name, "SP change")) { name += QString(": %1bar").arg((double)value / 1000, 0, 'f', 1); |