Fix an error that can cause an occasional visual glitch.

svn path=/trunk/KDE/kdelibs/; revision=1053367
This commit is contained in:
Fredrik Höglund 2009-11-23 22:53:01 +00:00
parent 3ad39b384c
commit 0317154954

View File

@ -146,7 +146,7 @@ QPixmap transition(const QPixmap &from, const QPixmap &to, qreal amount)
if (value == 0) {
return from;
} else if (value == 1) {
} else if (value == 0xff) {
return to;
}