* formatting
* default digits for PQs
* improved toQString in altitude / aircraft situation / coordinate
This commit is contained in:
Klaus Basan
2014-07-01 00:02:52 +02:00
parent f989acb42e
commit a9f0359666
6 changed files with 42 additions and 98 deletions

View File

@@ -34,7 +34,11 @@ namespace BlackMisc
}
else
{
QString s = this->CLength::valueRoundedWithUnit(CLengthUnit::ft(), i18n);
QString s = this->CLength::valueRoundedWithUnit(4, i18n);
if (this->getUnit() != CLengthUnit::ft())
{
s.append(" (").append(this->valueRoundedWithUnit(CLengthUnit::ft(), 4, i18n)).append(")");
}
return s.append(this->isMeanSeaLevel() ? " MSL" : " AGL");
}
}