summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecompiler.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-03-20 15:27:05 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-03-20 15:27:57 (GMT)
commit29f94f0d25711bd30fd5ed7d6a6717ce4f2244d5 (patch)
treef68230230e3fac8d707dccd04a7ed29fef3ecf41 /src/declarative/qml/qdeclarativecompiler.cpp
parent06b9776836a8e16792eb647c33310eb773780f0a (diff)
downloadQt-29f94f0d25711bd30fd5ed7d6a6717ce4f2244d5.zip
Qt-29f94f0d25711bd30fd5ed7d6a6717ce4f2244d5.tar.gz
Qt-29f94f0d25711bd30fd5ed7d6a6717ce4f2244d5.tar.bz2
Fix cast-from-ascii warning
Diffstat (limited to 'src/declarative/qml/qdeclarativecompiler.cpp')
-rw-r--r--src/declarative/qml/qdeclarativecompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativecompiler.cpp b/src/declarative/qml/qdeclarativecompiler.cpp
index 7eb469a..64d46d5 100644
--- a/src/declarative/qml/qdeclarativecompiler.cpp
+++ b/src/declarative/qml/qdeclarativecompiler.cpp
@@ -2094,7 +2094,7 @@ bool QDeclarativeCompiler::buildPropertyOnAssignment(QDeclarativeParser::Propert
buildDynamicMeta(baseObj, ForceCreation);
v->type = isPropertyValue ? Value::ValueSource : Value::ValueInterceptor;
} else {
- COMPILE_EXCEPTION(v, QCoreApplication::translate("QDeclarativeCompiler","\"%1\" cannot operate on \"%2\"").arg(v->object->typeName.constData()).arg(prop->name.constData()));
+ COMPILE_EXCEPTION(v, QCoreApplication::translate("QDeclarativeCompiler","\"%1\" cannot operate on \"%2\"").arg(QLatin1String(v->object->typeName.constData())).arg(QLatin1String(prop->name.constData())));
}
return true;