diff options
Diffstat (limited to 'tdeui')
-rw-r--r-- | tdeui/kanimwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeui/kanimwidget.cpp b/tdeui/kanimwidget.cpp index 664117ce3..5b4dc7051 100644 --- a/tdeui/kanimwidget.cpp +++ b/tdeui/kanimwidget.cpp @@ -189,7 +189,7 @@ void KAnimWidget::updateIcons() TQString path = TDEGlobal::iconLoader()->iconPath(d->icon_name, -d->size); TQImage img(path); - + if (img.isNull()) return; @@ -198,7 +198,7 @@ void KAnimWidget::updateIcons() d->transparent = img.hasAlphaBuffer(); if (d->pixmap.width() != d->size) { - img = img.smoothScale(d->size, d->size*d->frames); + img = img.smoothScale(d->size, d->size*d->frames); } d->pixmap = img; |