[kdelibs] plasma: after applet's dataupdated is called, dirty=false

Aaron J. Seigo aseigo at kde.org
Thu Mar 3 07:12:51 CET 2011


On Wednesday, March 2, 2011, Marco Martin wrote:
> Git commit 87c356421fdf4587fa8b82a3f148e9bad2fa5edb by Marco Martin.
> Committed on 02/03/2011 at 22:04.
> Pushed by mart into branch 'master'.
> 
> 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?

it's _probably_ safe, but this is moderately intricate (if not overly complex) 
code. have you tried it with both synchronous and asynchronous (e.g. weather) 
dataengines?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20110303/35d05320/attachment.sig 


More information about the Plasma-devel mailing list