this return is wrong
svn path=/trunk/KDE/kdelibs/; revision=1134141
This commit is contained in:
parent
13113abbf4
commit
7aa44c8d93
@ -465,7 +465,7 @@ public:
|
|||||||
}
|
}
|
||||||
} else if (end == fixupAnimation.endX && snapSize.width() > 1 &&
|
} else if (end == fixupAnimation.endX && snapSize.width() > 1 &&
|
||||||
q->contentsSize().width() > q->viewportGeometry().width()) {
|
q->contentsSize().width() > q->viewportGeometry().width()) {
|
||||||
int target = snapSize.width() * round(val/snapSize.width());return;
|
int target = snapSize.width() * round(val/snapSize.width());
|
||||||
fixupAnimation.snapX->setStartValue(val);
|
fixupAnimation.snapX->setStartValue(val);
|
||||||
fixupAnimation.snapX->setEndValue(target);
|
fixupAnimation.snapX->setEndValue(target);
|
||||||
fixupAnimation.snapX->setDuration(FixupDuration);
|
fixupAnimation.snapX->setDuration(FixupDuration);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user