Fix an error that can cause an occasional visual glitch.
svn path=/trunk/KDE/kdelibs/; revision=1053367
This commit is contained in:
parent
3ad39b384c
commit
0317154954
@ -146,7 +146,7 @@ QPixmap transition(const QPixmap &from, const QPixmap &to, qreal amount)
|
|||||||
|
|
||||||
if (value == 0) {
|
if (value == 0) {
|
||||||
return from;
|
return from;
|
||||||
} else if (value == 1) {
|
} else if (value == 0xff) {
|
||||||
return to;
|
return to;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user