Ref T578, CG null and DB key improvements

This commit is contained in:
Klaus Basan
2019-03-26 20:24:06 +01:00
committed by Mat Sutcliffe
parent 254e21ab1f
commit 246d9abca8
5 changed files with 20 additions and 6 deletions

View File

@@ -333,7 +333,7 @@ namespace BlackMisc
template <class MU, class PQ>
QString CPhysicalQuantity<MU, PQ>::valueRoundedWithUnit(int digits, bool withGroupSeparator, bool i18n) const
{
if (this->isNull()) { return this->convertToQString(i18n); }
if (this->isNull()) { return QStringLiteral("null"); }
return this->valueRoundedWithUnit(m_unit, digits, withGroupSeparator, i18n);
}