mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +00:00
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>
This commit is contained in:
parent
c734a77cf5
commit
632e6bb7c7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue