Merge branch 'KDE/4.7' into frameworks

This commit is contained in:
Rolf Eike Beer 2011-10-07 18:47:11 +02:00
commit 7d1a833fc1

View File

@ -335,8 +335,8 @@ void DataEngine::removeAllSources()
while (it.hasNext()) { while (it.hasNext()) {
it.next(); it.next();
Plasma::DataContainer *s = it.value(); Plasma::DataContainer *s = it.value();
it.remove();
emit sourceRemoved(it.key()); emit sourceRemoved(it.key());
it.remove();
s->disconnect(this); s->disconnect(this);
delete s; delete s;
} }