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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel