diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-03-20 15:27:05 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-03-20 15:27:57 (GMT) |
commit | 29f94f0d25711bd30fd5ed7d6a6717ce4f2244d5 (patch) | |
tree | f68230230e3fac8d707dccd04a7ed29fef3ecf41 | |
parent | 06b9776836a8e16792eb647c33310eb773780f0a (diff) | |
download | Qt-29f94f0d25711bd30fd5ed7d6a6717ce4f2244d5.zip Qt-29f94f0d25711bd30fd5ed7d6a6717ce4f2244d5.tar.gz Qt-29f94f0d25711bd30fd5ed7d6a6717ce4f2244d5.tar.bz2 |
Fix cast-from-ascii warning
-rw-r--r-- | src/declarative/qml/qdeclarativecompiler.cpp | 2 |
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; |