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:
parent
63130dbcf7
commit
9751d6c59d
@ -499,6 +499,12 @@ void Icon::setSvg(const QString &svgFilePath, const QString &elementId)
|
|||||||
|
|
||||||
d->iconSvg->setImagePath(svgFilePath);
|
d->iconSvg->setImagePath(svgFilePath);
|
||||||
|
|
||||||
|
if (!elementId.isNull()) {
|
||||||
|
d->iconSvg->setContainsMultipleImages(true);
|
||||||
|
} else {
|
||||||
|
d->iconSvg->setContainsMultipleImages(false);
|
||||||
|
}
|
||||||
|
|
||||||
d->iconSvgElement = elementId;
|
d->iconSvgElement = elementId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user