refs #875, fix for containers being class members

This commit is contained in:
Klaus Basan
2017-02-09 17:21:39 +01:00
committed by Mathew Sutcliffe
parent 13682e5760
commit d864171358

View File

@@ -182,6 +182,7 @@ namespace BlackMisc
//! \copydoc BlackMisc::CValueObject::unmarshallFromDbus
void unmarshallFromDbus(const QDBusArgument &argument)
{
derived().clear();
argument.beginArray();
while (!argument.atEnd()) { T value; argument >> value; derived().insert(value); }
argument.endArray();