Remove unused code

This commit is contained in:
Martin Gräßlin 2012-02-10 09:42:36 +01:00
parent 06b6ea1199
commit 6baafd28cd

View file

@ -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();
}