]> vaikene.ee Git - evaf/commitdiff
Fixed invalid signal name when registering new interfaces.
authorEnar Väikene <enar@vaikene.net>
Thu, 7 Nov 2013 16:01:50 +0000 (18:01 +0200)
committerEnar Väikene <enar@vaikene.net>
Thu, 7 Nov 2013 16:01:50 +0000 (18:01 +0200)
src/libs/Common/registry.cpp

index 6c8cc620151009086eb7cb186661bb91a0170824..37b47e03e4037208427242734e755b9650bdae9a 100644 (file)
@@ -57,7 +57,7 @@ bool Registry::registerInterface(QString const & name, QObject * obj)
     // 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;
 }