register animation enums
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1090659
This commit is contained in:
parent
f0775b0de4
commit
8b20a83b3d
@ -677,7 +677,9 @@ QScriptValue SimpleJavaScriptApplet::animation(QScriptContext *context, QScriptE
|
|||||||
anim->setTargetWidget(parent);
|
anim->setTargetWidget(parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
return engine->newQObject(anim);
|
QScriptValue value = engine->newQObject(anim);
|
||||||
|
registerEnums(engine, value, *anim->metaObject());
|
||||||
|
return value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user