Need to register dbus metatypes to have them work correctly.

Change-Id: Ic994a0747c692fffe8a986eba6f754a6c0eddfa8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Lorn Potter 2013-05-16 04:41:41 +10:00 committed by The Qt Project
parent 07b34d934e
commit c1d5f46d23

View File

@ -81,6 +81,8 @@ QConnmanManagerInterface::QConnmanManagerInterface( QObject *parent)
CONNMAN_MANAGER_INTERFACE, CONNMAN_MANAGER_INTERFACE,
QDBusConnection::systemBus(), parent) QDBusConnection::systemBus(), parent)
{ {
qDBusRegisterMetaType<ConnmanMap>();
qDBusRegisterMetaType<ConnmanMapList>();
} }
QConnmanManagerInterface::~QConnmanManagerInterface() QConnmanManagerInterface::~QConnmanManagerInterface()