diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-03-23 05:03:29 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-03-23 05:06:34 (GMT) |
commit | 6303deb10f394746a6ff928dc44934aa728f8b09 (patch) | |
tree | 28c2fd7b3ecc5ddba418abf4cbd0d44fac07e115 /src | |
parent | fad4cdb70323a2c1925c31917ce2b6cff62748b0 (diff) | |
download | Qt-6303deb10f394746a6ff928dc44934aa728f8b09.zip Qt-6303deb10f394746a6ff928dc44934aa728f8b09.tar.gz Qt-6303deb10f394746a6ff928dc44934aa728f8b09.tar.bz2 |
Fix warning.
Diffstat (limited to 'src')
-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 28c2210..e668553 100644 --- a/src/declarative/qml/qdeclarativecompiler.cpp +++ b/src/declarative/qml/qdeclarativecompiler.cpp @@ -2131,7 +2131,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(QString::fromUtf8(v->object->typeName)).arg(QString::fromUtf8(prop->name))); } return true; |