fix signal / slot

svn path=/trunk/KDE/kdelibs/; revision=1136817
This commit is contained in:
Sebastian Kügler 2010-06-10 20:38:36 +00:00
parent 1cca6c7d02
commit daf79ebe98

View File

@ -251,7 +251,7 @@ void DataEngine::addSource(DataContainer *source)
QObject::connect(source, SIGNAL(updateRequested(DataContainer*)),
this, SLOT(internalUpdateSource(DataContainer*)));
QObject::connect(source, SIGNAL(destroyed()), this, SLOT(sourceDestroyed()));
QObject::connect(source, SIGNAL(destroyed(QObject*)), this, SLOT(sourceDestroyed(QObject*)));
d->sources.insert(source->objectName(), source);
emit sourceAdded(source->objectName());
scheduleSourcesUpdated();