summaryrefslogtreecommitdiffstats
path: root/src
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:36 +0100
commite41de712457b057fcbe14770de4354b5fbef22a0 (patch)
tree364125b1b2b2b5802b2de8c7fcd7a7938051d44f /src
parent833a6f323e13301fdfa45d44edc88881c45a1481 (diff)
downloadbasket-e41de712457b057fcbe14770de4354b5fbef22a0.tar.gz
basket-e41de712457b057fcbe14770de4354b5fbef22a0.zip
Fix using KSvgIconEngine to load an image for icon.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 6b78c44383ed349ed3c3da088e3e2285d5144796)
Diffstat (limited to 'src')
-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())