call setFile() when changing the svg image for Icon

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=750670
This commit is contained in:
Shawn Starr 2007-12-19 20:58:45 +00:00
parent 60769c4c6f
commit 853710deca

View File

@ -454,7 +454,7 @@ void Icon::calculateSize(const QStyleOptionGraphicsItem *option)
void Icon::setSvg(const QString &svgFilePath)
{
d->svg.setSvg(svgFilePath);
d->svg.setFile(svgFilePath);
}
void Icon::Private::drawBackground(QPainter *painter, IconState state)