mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-05 01:35:45 +08:00
refs #875, fix for containers being class members
This commit is contained in:
committed by
Mathew Sutcliffe
parent
13682e5760
commit
d864171358
@@ -182,6 +182,7 @@ namespace BlackMisc
|
|||||||
//! \copydoc BlackMisc::CValueObject::unmarshallFromDbus
|
//! \copydoc BlackMisc::CValueObject::unmarshallFromDbus
|
||||||
void unmarshallFromDbus(const QDBusArgument &argument)
|
void unmarshallFromDbus(const QDBusArgument &argument)
|
||||||
{
|
{
|
||||||
|
derived().clear();
|
||||||
argument.beginArray();
|
argument.beginArray();
|
||||||
while (!argument.atEnd()) { T value; argument >> value; derived().insert(value); }
|
while (!argument.atEnd()) { T value; argument >> value; derived().insert(value); }
|
||||||
argument.endArray();
|
argument.endArray();
|
||||||
|
|||||||
Reference in New Issue
Block a user