mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Formatting, minor tweaks
This commit is contained in:
committed by
Roland Winklmeier
parent
a8ab2a37b8
commit
1f3e5c6abf
@@ -357,7 +357,7 @@ namespace BlackMisc
|
||||
template <class MU, class PQ>
|
||||
QString CPhysicalQuantity<MU, PQ>::convertToQString(bool i18n) const
|
||||
{
|
||||
if (this->isNull()) { return i18n ? QCoreApplication::translate("CPhysicalQuantity", "undefined") : "undefined"; }
|
||||
if (this->isNull()) { return QStringLiteral("null"); }
|
||||
return this->valueRoundedWithUnit(this->getUnit(), -1, i18n);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user