Fix using KSvgIconEngine to load an image for icon.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 6b78c44383)
pull/10/head
Slávek Banko 5 years ago
parent 833a6f323e
commit e41de71245
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 #ifdef HAVE_LIBART
else else
if (d->mSvgEngine.load(maxSize, maxSize, path)) if (d->mSvgEngine.load(maxSize, maxSize, path))
img = *d->mSvgEngine.painter()->image(); img = *d->mSvgEngine.image();
#endif #endif
if (img.isNull()) if (img.isNull())

Loading…
Cancel
Save