From ec6d1370120f4193017036843eba4004915d62cc Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 5 Jan 2011 16:41:06 +0000 Subject: [PATCH] use smooth transformation for the pressed effect: it's used rarely enough to not pose too much performance issues BUG:262128 svn path=/trunk/KDE/kdelibs/; revision=1212069 --- widgets/iconwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/iconwidget.cpp b/widgets/iconwidget.cpp index 8f8d2d5b1..3091320bc 100644 --- a/widgets/iconwidget.cpp +++ b/widgets/iconwidget.cpp @@ -813,7 +813,7 @@ QPixmap IconWidgetPrivate::decoration(const QStyleOptionGraphicsItem *option, bo } if (usePressedEffect) { - result = result.scaled(result.size() * 0.9, Qt::KeepAspectRatio); + result = result.scaled(result.size() * 0.9, Qt::KeepAspectRatio, Qt::SmoothTransformation); } if (!result.isNull() && useHoverEffect) {