call setFile() when changing the svg image for Icon
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=750670
This commit is contained in:
parent
60769c4c6f
commit
853710deca
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user