The line

bool found = Theme::defaultTheme()->findInRectsCache(d->path, id, 
elementRect);

returns true, but the elementRect is invalid 0x0, so the hasElement returns 
false.

When I change found to be false always, everything works as it used before - 
no problems...

Cheerio

-- 
A positive attitude may not solve all your problems, but it will annoy enough 
people to make it worth the effort
   -- Herm Albright

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

Reply via email to