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);
    }


-- 
Those people who think they know everything are a great annoyance to those of 
us who do.
   -- Isaac Asimov

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to