after applet's dataupdated is called, dirty=false
in DataEnginePrivate::connectSource, if it's an immediate call, and QMetaObject::invokeMethod(visualization, "dataUpdated" is called, means the datacontainers' dirty bit must be set to false, otherwise we will get two subsequent dataUpdated can it have countereffects? CCMAIL:plasma-devel@kde.org
This commit is contained in:
parent
6aac9f5b45
commit
15ac609228
@ -671,6 +671,7 @@ void DataEnginePrivate::connectSource(DataContainer *s, QObject *visualization,
|
||||
QMetaObject::invokeMethod(visualization, "dataUpdated",
|
||||
Q_ARG(QString, s->objectName()),
|
||||
Q_ARG(Plasma::DataEngine::Data, s->data()));
|
||||
s->d->dirty = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user