From 1d898620809756ee05e077edda6a5bf4a0d960c2 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Mon, 27 Apr 2015 12:11:46 +0200 Subject: [PATCH] refs #411, PQ DBus signature --- src/blackmisc/pq/physicalquantity.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/blackmisc/pq/physicalquantity.cpp b/src/blackmisc/pq/physicalquantity.cpp index 1eaa282c0..cb3e61302 100644 --- a/src/blackmisc/pq/physicalquantity.cpp +++ b/src/blackmisc/pq/physicalquantity.cpp @@ -143,17 +143,16 @@ namespace BlackMisc void CPhysicalQuantity::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 void CPhysicalQuantity::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