// Add the interface to the list of registered interfaces and connect to
// the destroyed() signal.
mInterfaces.insert(name, obj);
- connect(obj, SIGNAL(destroyed()), this, SLOT(interfaceDestroyed(QObject *)));
+ connect(obj, SIGNAL(destroyed(QObject *)), this, SLOT(interfaceDestroyed(QObject *)));
return true;
}