summaryrefslogtreecommitdiff
path: root/src/script/qscriptecmafunction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/qscriptecmafunction.cpp')
-rw-r--r--src/script/qscriptecmafunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/qscriptecmafunction.cpp b/src/script/qscriptecmafunction.cpp
index ec45ae4c17..a1e5b58abb 100644
--- a/src/script/qscriptecmafunction.cpp
+++ b/src/script/qscriptecmafunction.cpp
@@ -197,7 +197,7 @@ QString Function::buildFunction(QScriptContextPrivate *context)
// the formals
for (int i = 0; i < argc - 1; ++i) {
if (i != 0)
- code += QLatin1String(",");
+ code += QLatin1Char(',');
code += context->argument(i).toString();
}