scale coherently also the old icon during the animation
svn path=/trunk/KDE/kdelibs/; revision=1108404
This commit is contained in:
parent
aa4544bd78
commit
5560dae986
@ -762,7 +762,7 @@ QPixmap IconWidgetPrivate::decoration(const QStyleOptionGraphicsItem *option, bo
|
||||
oldIcon = QIcon();
|
||||
} else {
|
||||
result = PaintUtils::transition(
|
||||
oldIcon.pixmap(iconSize.toSize(), mode, state),
|
||||
oldIcon.pixmap(result.size(), mode, state),
|
||||
result, hoverAnimation->value());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user