summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-03-12 09:28:16 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-03-12 09:28:16 +0100
commit6b78c44383ed349ed3c3da088e3e2285d5144796 (patch)
treec7a9312ff24d565a165db1ef97fe5aeb91e5ccd8
parent09b54e26adec6ed5b1cf54cc2999a6083de8b348 (diff)
downloadbasket-6b78c44383ed349ed3c3da088e3e2285d5144796.tar.gz
basket-6b78c44383ed349ed3c3da088e3e2285d5144796.zip
Fix using KSvgIconEngine to load an image for icon.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-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())