summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/declarative/qml/qmlcompiler.cpp2
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");