From 853710decaa1cf16a22b14f413b34f9fc4d88f2b Mon Sep 17 00:00:00 2001 From: Shawn Starr Date: Wed, 19 Dec 2007 20:58:45 +0000 Subject: [PATCH] call setFile() when changing the svg image for Icon svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=750670 --- widgets/icon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/icon.cpp b/widgets/icon.cpp index 10bbe9ebc..eb99c6595 100644 --- a/widgets/icon.cpp +++ b/widgets/icon.cpp @@ -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)