fix signal / slot
svn path=/trunk/KDE/kdelibs/; revision=1136817
This commit is contained in:
parent
1cca6c7d02
commit
daf79ebe98
@ -251,7 +251,7 @@ void DataEngine::addSource(DataContainer *source)
|
|||||||
|
|
||||||
QObject::connect(source, SIGNAL(updateRequested(DataContainer*)),
|
QObject::connect(source, SIGNAL(updateRequested(DataContainer*)),
|
||||||
this, SLOT(internalUpdateSource(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);
|
d->sources.insert(source->objectName(), source);
|
||||||
emit sourceAdded(source->objectName());
|
emit sourceAdded(source->objectName());
|
||||||
scheduleSourcesUpdated();
|
scheduleSourcesUpdated();
|
||||||
|
Loading…
Reference in New Issue
Block a user