diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-07-20 02:04:21 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-07-20 02:04:21 (GMT) |
commit | 2193f4d417d94530e7d2f1948de03372b02dcdcf (patch) | |
tree | 8ba8d583e1c2dca23235a0073bcf62fa25267154 /src/declarative/qml/qmlcompiler.cpp | |
parent | 0eaa2231ed4e3acc0c1411492c13d9057d1caa00 (diff) | |
download | Qt-2193f4d417d94530e7d2f1948de03372b02dcdcf.zip Qt-2193f4d417d94530e7d2f1948de03372b02dcdcf.tar.gz Qt-2193f4d417d94530e7d2f1948de03372b02dcdcf.tar.bz2 |
Fix warning.
Diffstat (limited to 'src/declarative/qml/qmlcompiler.cpp')
-rw-r--r-- | src/declarative/qml/qmlcompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlcompiler.cpp b/src/declarative/qml/qmlcompiler.cpp index 138be29..477e6a5 100644 --- a/src/declarative/qml/qmlcompiler.cpp +++ b/src/declarative/qml/qmlcompiler.cpp @@ -940,7 +940,7 @@ bool QmlCompiler::buildComponent(QmlParser::Object *obj, COMPILE_EXCEPTION(obj, "Invalid component id specification"); if (idProp) { - QString idVal = idProp->values.first()->primitive().toUtf8(); + QString idVal = idProp->values.first()->primitive(); if (compileState.ids.contains(idVal)) COMPILE_EXCEPTION(obj, "id is not unique"); |