From e7ffcacf1fd3dd7896745b70cc5d368907f8a109 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Mon, 28 Nov 2011 10:42:40 +0100 Subject: [PATCH] emit sourceRemoved when the container is deleted outside of removeSource --- dataengine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dataengine.cpp b/dataengine.cpp index e6b115324..9ad22efed 100644 --- a/dataengine.cpp +++ b/dataengine.cpp @@ -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;