Use double quotes instead of single quotes as per our guidelines.

Change-Id: Ib608bb49e26781aef1914085a5d801fcdcd5eb56
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
This commit is contained in:
Christian Kandeler
2014-04-17 14:09:47 +02:00
parent c20f40e12e
commit eccc1198d6
123 changed files with 293 additions and 293 deletions

View File

@@ -144,7 +144,7 @@ bool evaluateBooleanJavaScriptExpression(QScriptEngine &engine, const QString &e
engine.clearExceptions();
const QScriptValue value = engine.evaluate(expression);
if (engine.hasUncaughtException()) {
*errorMessage = QString::fromLatin1("Error in '%1': %2").
*errorMessage = QString::fromLatin1("Error in \"%1\": %2").
arg(expression, engine.uncaughtException().toString());
return false;
}
@@ -161,7 +161,7 @@ bool evaluateBooleanJavaScriptExpression(QScriptEngine &engine, const QString &e
*result = !value.toString().isEmpty();
return true;
}
*errorMessage = QString::fromLatin1("Cannot convert result of '%1' ('%2'to bool.").
*errorMessage = QString::fromLatin1("Cannot convert result of \"%1\" (\"%2\"to bool.").
arg(expression, value.toString());
return false;
}