From 9a47e7da0a6d9eb72e570acca32b43bae9206bb2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 18 Dec 2013 17:29:04 -0600 Subject: Fix broken folder open animation --- tdeui/kanimwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tdeui') 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; -- cgit v1.2.1