emit sourceRemoved when the container is deleted outside of removeSource

This commit is contained in:
Aaron Seigo 2011-11-28 10:42:40 +01:00
parent e500cd4bd7
commit e7ffcacf1f

View File

@ -681,6 +681,7 @@ void DataEnginePrivate::sourceDestroyed(QObject *object)
while (it != sources.end()) {
if (it.value() == object) {
sources.erase(it);
emit q->sourceRemoved(object->objectName());
break;
}
++it;