setData() was actually wrong there

this fixes remote notifications
(where the data is set exactly once after sourceadded)

svn path=/trunk/KDE/kdelibs/; revision=1091959
This commit is contained in:
Marco Martin 2010-02-17 23:10:16 +00:00
parent ac7b1cce29
commit 69ca0bd767

View File

@ -136,7 +136,6 @@ void RemoteDataEngine::remoteCallFinished(Plasma::ServiceJob *job)
foreach (const QString &source, m_sources) {
if (!oldsources.contains(source) && !s.contains(source)) {
kDebug() << "new source = " << source;
setData(source, DataEngine::Data());
emit sourceAdded(source);
}
}