correct output
svn path=/trunk/KDE/kdebase/runtime/; revision=1159696
This commit is contained in:
parent
e68da09400
commit
87d6ebf09a
@ -424,7 +424,7 @@ QScriptValue ScriptEnv::loadAddon(QScriptContext *context, QScriptEngine *engine
|
||||
|
||||
QFile file(package.filePath("mainscript"));
|
||||
if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
|
||||
return context->throwError(i18n("file to open script file for Addon %1: %1", plugin, path));
|
||||
return context->throwError(i18n("Failed to open script file for Addon %1: %2", plugin, package.filePath("mainscript")));
|
||||
}
|
||||
|
||||
QTextStream buffer(&file);
|
||||
|
Loading…
x
Reference in New Issue
Block a user