Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Use QStringLiteral

parent c523d822
......@@ -248,7 +248,7 @@ QScriptValue getChild(QScriptContext* ctx, QScriptEngine* eng)
{
Q_UNUSED(eng)
if (ctx->argumentCount() < 1)
return ctx->throwError(QLatin1String("child(): name of child must be passed as first parameter"));
return ctx->throwError(QStringLiteral("child(): name of child must be passed as first parameter"));
QString nameString = ctx->argument(0).toString();
QScriptValue ret = ctx->thisObject().property(ParserStrings::PROPERTY_CHILDREN()).property(nameString);
if (ret.isValid())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment