fix coding style
svn path=/trunk/KDE/kdelibs/; revision=1041163
This commit is contained in:
parent
6c0f314c8b
commit
28bab1f99d
@ -42,21 +42,22 @@ QAbstractAnimation* SlideAnimation::render(QObject* parent)
|
||||
qreal newX = x;
|
||||
qreal newY = y;
|
||||
|
||||
kDebug()<<direction( );
|
||||
switch (direction()) {
|
||||
case MoveUp:
|
||||
newY = y - distance();
|
||||
newY -= distance();
|
||||
break;
|
||||
|
||||
case MoveRight:
|
||||
newX = x + distance();
|
||||
newX += distance();
|
||||
break;
|
||||
|
||||
case MoveDown:
|
||||
newY = y + distance();
|
||||
newY += distance();
|
||||
break;
|
||||
|
||||
case MoveLeft:
|
||||
newX = x - distance();
|
||||
newX -= distance();
|
||||
break;
|
||||
|
||||
case MoveUpRight:
|
||||
|
Loading…
Reference in New Issue
Block a user