FrameSvg corruption [a bit urgent]

Aaron J. Seigo aseigo at kde.org
Thu Jan 15 22:51:37 CET 2009


On Thursday 15 January 2009, Ivan Čukić wrote:
> p.s. Why don't we call the /not found/ branch when the rectangle is not
> valid?
>
> Something like:
>     if (found && elementRect.isValid()) {
>         return true;
>     } else {
>         d->findAndCacheElementRect(elementId);
>         return d->renderer->elementExists(elementId);
>     }

because if it is found, then we don't want to re-look it up in the svg. no?

-- 
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 Software

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090115/850371cb/attachment.sig 


More information about the Plasma-devel mailing list