refs #411, PQ DBus signature

This commit is contained in:
Klaus Basan
2015-04-27 12:11:46 +02:00
committed by Mathew Sutcliffe
parent 4aa5f8069e
commit 1d89862080

View File

@@ -143,17 +143,16 @@ namespace BlackMisc
void CPhysicalQuantity<MU, PQ>::marshallToDbus(QDBusArgument &argument) const
{
argument << this->value(UnitClass::defaultUnit());
argument << this->m_value;
argument << this->m_unit;
// argument << this->m_value;
// argument << this->m_unit;
}
template <class MU, class PQ>
void CPhysicalQuantity<MU, PQ>::unmarshallFromDbus(const QDBusArgument &argument)
{
double ignore;
argument >> ignore;
argument >> this->m_value;
argument >> this->m_unit;
// argument >> this->m_unit;
this->m_unit = UnitClass::defaultUnit();
}
template <class MU, class PQ>