Merge branch 'KDE/4.7' into frameworks
This commit is contained in:
commit
7d1a833fc1
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user