Fix using KSvgIconEngine to load an image for icon.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/5/head
Slávek Banko 5 years ago
parent 09b54e26ad
commit 6b78c44383
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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())

Loading…
Cancel
Save