setcontainnsmultiple images when rendering a single sub element into the icon

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=847270
This commit is contained in:
Marco Martin 2008-08-15 07:59:07 +00:00
parent 63130dbcf7
commit 9751d6c59d

View File

@ -499,6 +499,12 @@ void Icon::setSvg(const QString &svgFilePath, const QString &elementId)
d->iconSvg->setImagePath(svgFilePath);
if (!elementId.isNull()) {
d->iconSvg->setContainsMultipleImages(true);
} else {
d->iconSvg->setContainsMultipleImages(false);
}
d->iconSvgElement = elementId;
}