adapt to Animation api change
svn path=/trunk/KDE/kdebase/runtime/; revision=1069734
This commit is contained in:
parent
ef89647363
commit
03da062151
@ -652,7 +652,7 @@ QScriptValue SimpleJavaScriptApplet::animation(QScriptContext *context, QScriptE
|
||||
Plasma::Animation *anim = Plasma::Animator::create(s_animationDefs.value(animName), parent);
|
||||
if (anim) {
|
||||
if (!parentIsApplet) {
|
||||
anim->setWidgetToAnimate(parent);
|
||||
anim->setTargetWidget(parent);
|
||||
}
|
||||
|
||||
return engine->newQObject(anim);
|
||||
|
Loading…
x
Reference in New Issue
Block a user