Fun with Akonadi Dataeng
Sebastian Kügler
sebas at kde.org
Thu Feb 26 14:26:55 CET 2009
On Wednesday 25 February 2009 16:56:11 David Baron wrote:
> Any progress on the akonadi engine? (I have been offline a few days because
> I l lost my geforce).
>
> Last svn I took crashed the engine-explorer and my applet so I doubt it is
> my code. Could it be that dataUpdated() was being exercised with invalid or
> null data? Since the receives Plasma::DataEngine::Data&, how would one
> check this to be safe?
Yes, for async requests, the data set passed can be empty, that's actually
part of the API. Just make sure you don't trust the data passed in, but check
it first.
--
sebas
http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090226/e5cb1c01/attachment.sig
More information about the Plasma-devel
mailing list