summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Craig <ext-chris.craig@nokia.com>2012-02-29 16:57:07 +0100
committerLasse Holmstedt <lasse.holmstedt@nokia.com>2012-02-29 17:06:46 +0100
commitd29cb6d26e1fd42bd6bf837b78eed4890c399415 (patch)
tree240e39ffc3f719718250e8f02d338f15340f70ce
parente3f8ad46768b54db71b0496d14719125e6ed2225 (diff)
processinfo template should use utf8
Change-Id: I564279a78162c2b63b40e7009ea3034f929bb275 Reviewed-by: Lasse Holmstedt <lasse.holmstedt@nokia.com>
-rw-r--r--src/declarative/processinfotemplate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/processinfotemplate.cpp b/src/declarative/processinfotemplate.cpp
index deeddae..4cc024b 100644
--- a/src/declarative/processinfotemplate.cpp
+++ b/src/declarative/processinfotemplate.cpp
@@ -415,7 +415,7 @@ QVariant ProcessInfoTemplate::bindScript(const QDeclarativeScriptString &script)
// out the real value after evaluating it.
QString scriptStr = QStringLiteral("script");
- QString jsonWrapper = QString::fromLatin1("{\"%1\": %2}").arg(scriptStr).arg(script.script());
+ QString jsonWrapper = QString::fromUtf8("{\"%1\": %2}").arg(scriptStr).arg(script.script());
QDeclarativeExpression expr(script.context(), this, jsonWrapper);
return expr.evaluate().toMap().value(scriptStr);