ahem, there was a missing !

:)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872290
This commit is contained in:
Marco Martin 2008-10-16 20:04:51 +00:00
parent 3f5ddc5aee
commit ed626e5869

View File

@ -415,7 +415,7 @@ bool Svg::hasElement(const QString &elementId) const
QRectF elementRect;
bool found = Theme::defaultTheme()->findInRectsCache(d->themePath, elementId, elementRect);
if (found && elementRect.isValid()) {
if (found && !elementRect.isValid()) {
return false;
} else {
d->createRenderer();