emit sourceRemoved when the container is deleted outside of removeSource
This commit is contained in:
parent
e500cd4bd7
commit
e7ffcacf1f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user