don't emit dataChanged() when undesired data arrives
svn path=/trunk/KDE/kdebase/runtime/; revision=1216014
This commit is contained in:
parent
8565829336
commit
ccf35dd608
@ -142,10 +142,10 @@ void DataSource::dataUpdated(const QString &sourceName, const Plasma::DataEngine
|
||||
//it can arrive also data we don't explicitly connected a source
|
||||
if (m_connectedSources.contains(sourceName)) {
|
||||
m_data.insert(sourceName.toLatin1(), data);
|
||||
}
|
||||
|
||||
emit dataChanged();
|
||||
emit newData(sourceName, data);
|
||||
emit dataChanged();
|
||||
emit newData(sourceName, data);
|
||||
}
|
||||
}
|
||||
|
||||
void DataSource::removeSource(const QString &source)
|
||||
|
Loading…
x
Reference in New Issue
Block a user