diff --git a/dataengine.cpp b/dataengine.cpp index c6f8153e7..2cf297d99 100644 --- a/dataengine.cpp +++ b/dataengine.cpp @@ -335,8 +335,8 @@ void DataEngine::removeAllSources() while (it.hasNext()) { it.next(); Plasma::DataContainer *s = it.value(); - it.remove(); emit sourceRemoved(it.key()); + it.remove(); s->disconnect(this); delete s; }