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:
parent
324b96e720
commit
ec6d137012
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user