simplify ..

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856475
This commit is contained in:
Aaron J. Seigo 2008-09-02 23:28:59 +00:00
parent d93456515d
commit 9367d50a83

View File

@ -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;
}