summaryrefslogtreecommitdiffstats
path: root/src/kiconcanvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kiconcanvas.cpp')
-rw-r--r--src/kiconcanvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kiconcanvas.cpp b/src/kiconcanvas.cpp
index ce42dcd..6ec7152 100644
--- a/src/kiconcanvas.cpp
+++ b/src/kiconcanvas.cpp
@@ -126,7 +126,7 @@ void TDEIconCanvas::loadIcon(const TQString &name)
#ifdef HAVE_LIBART
else
if (d->mSvgEngine.load(maxSize, maxSize, path))
- img = *d->mSvgEngine.painter()->image();
+ img = *d->mSvgEngine.image();
#endif
if (img.isNull())