diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-12-18 17:29:04 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-12-18 17:29:04 -0600 |
commit | 9a47e7da0a6d9eb72e570acca32b43bae9206bb2 (patch) | |
tree | 7a58e090906fdc009f1090b97986eae7711dfa19 /tdeui/kanimwidget.cpp | |
parent | 2259d55a3971d050e40234a92d9753143cab0e09 (diff) | |
download | tdelibs-9a47e7da0a6d9eb72e570acca32b43bae9206bb2.tar.gz tdelibs-9a47e7da0a6d9eb72e570acca32b43bae9206bb2.zip |
Fix broken folder open animation
Diffstat (limited to 'tdeui/kanimwidget.cpp')
-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; |