Remove unused code
This commit is contained in:
parent
06b6ea1199
commit
6baafd28cd
1 changed files with 0 additions and 1 deletions
|
@ -50,7 +50,6 @@ QScriptValue kwinEffectScriptPrint(QScriptContext *context, QScriptEngine *engin
|
|||
|
||||
QScriptValue kwinEffectScriptAnimationTime(QScriptContext *context, QScriptEngine *engine)
|
||||
{
|
||||
ScriptedEffect *script = qobject_cast<ScriptedEffect*>(context->callee().data().toQObject());
|
||||
if (context->argumentCount() != 1) {
|
||||
return engine->undefinedValue();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue