mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
refs #411, PQ DBus signature
This commit is contained in:
committed by
Mathew Sutcliffe
parent
4aa5f8069e
commit
1d89862080
@@ -143,17 +143,16 @@ namespace BlackMisc
|
|||||||
void CPhysicalQuantity<MU, PQ>::marshallToDbus(QDBusArgument &argument) const
|
void CPhysicalQuantity<MU, PQ>::marshallToDbus(QDBusArgument &argument) const
|
||||||
{
|
{
|
||||||
argument << this->value(UnitClass::defaultUnit());
|
argument << this->value(UnitClass::defaultUnit());
|
||||||
argument << this->m_value;
|
// argument << this->m_value;
|
||||||
argument << this->m_unit;
|
// argument << this->m_unit;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class MU, class PQ>
|
template <class MU, class PQ>
|
||||||
void CPhysicalQuantity<MU, PQ>::unmarshallFromDbus(const QDBusArgument &argument)
|
void CPhysicalQuantity<MU, PQ>::unmarshallFromDbus(const QDBusArgument &argument)
|
||||||
{
|
{
|
||||||
double ignore;
|
|
||||||
argument >> ignore;
|
|
||||||
argument >> this->m_value;
|
argument >> this->m_value;
|
||||||
argument >> this->m_unit;
|
// argument >> this->m_unit;
|
||||||
|
this->m_unit = UnitClass::defaultUnit();
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class MU, class PQ>
|
template <class MU, class PQ>
|
||||||
|
|||||||
Reference in New Issue
Block a user