mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +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
|
||||
{
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user