mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Do not use m/ft fractions for vertical speed
This commit is contained in:
parent
606269fcc1
commit
28bd3e49d1
@ -96,10 +96,10 @@ QString MotionInfoItem::speed(const QLocale &l) const
|
|||||||
QString MotionInfoItem::verticalSpeed(const QLocale &l) const
|
QString MotionInfoItem::verticalSpeed(const QLocale &l) const
|
||||||
{
|
{
|
||||||
if (_units == Nautical || _units == Imperial)
|
if (_units == Nautical || _units == Imperial)
|
||||||
return l.toString(MS2FTMIN * _verticalSpeed, 'f', 1) + UNIT_SPACE
|
return l.toString(MS2FTMIN * _verticalSpeed, 'f', 0) + UNIT_SPACE
|
||||||
+ qApp->translate("MotionInfoItem", "ft/min");
|
+ qApp->translate("MotionInfoItem", "ft/min");
|
||||||
else
|
else
|
||||||
return l.toString(MS2MMIN * _verticalSpeed, 'f', 1) + UNIT_SPACE
|
return l.toString(MS2MMIN * _verticalSpeed, 'f', 0) + UNIT_SPACE
|
||||||
+ qApp->translate("MotionInfoItem", "m/min");
|
+ qApp->translate("MotionInfoItem", "m/min");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user