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
This commit is contained in:
Marco Martin 2011-01-05 16:41:06 +00:00
parent 324b96e720
commit ec6d137012

View File

@ -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) {