correct name

svn path=/trunk/KDE/kdebase/runtime/; revision=1159612
This commit is contained in:
Aaron J. Seigo 2010-08-05 19:41:21 +00:00
parent 522bbc4de0
commit 2922aec6a7

View File

@ -394,7 +394,7 @@ QScriptValue ScriptEnv::listAddons(QScriptContext *context, QScriptEngine *engin
QScriptValue ScriptEnv::loadAddon(QScriptContext *context, QScriptEngine *engine) QScriptValue ScriptEnv::loadAddon(QScriptContext *context, QScriptEngine *engine)
{ {
if (context->argumentCount() < 2) { if (context->argumentCount() < 2) {
return context->throwError(i18n("listAddons takes two arguments: addon type and addon name to load")); return context->throwError(i18n("loadAddon takes two arguments: addon type and addon name to load"));
} }
const QString type = context->argument(0).toString(); const QString type = context->argument(0).toString();