simplify ..
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856475
This commit is contained in:
parent
d93456515d
commit
9367d50a83
@ -499,13 +499,7 @@ 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->iconSvg->setContainsMultipleImages(!elementId.isNull());
|
||||
d->iconSvgElement = elementId;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user