debug should be hooked up to the debug method

svn path=/trunk/KDE/kdebase/runtime/; revision=1083607
This commit is contained in:
Aaron J. Seigo 2010-02-01 16:13:21 +00:00
parent 52eacdf240
commit de26219d43

View File

@ -43,7 +43,7 @@ ScriptEnv::ScriptEnv(QObject *parent)
{
QScriptValue global = globalObject();
global.setProperty("print", newFunction(ScriptEnv::print));
global.setProperty("debug", newFunction(ScriptEnv::print));
global.setProperty("debug", newFunction(ScriptEnv::debug));
}
ScriptEnv::~ScriptEnv()