summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlscriptparser.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-10-12 06:56:50 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-10-12 06:56:50 (GMT)
commit7421702dd3202c21f3871171792476f0d2d50abe (patch)
tree5a45e20fd74e23cf0a4ad2aa1a80bd073fa51413 /src/declarative/qml/qmlscriptparser.cpp
parent9094a6588de3a7264ec4647a24b94253a7609823 (diff)
parent949e21cdafeec0c0e4ac632ebbf21767479f04e5 (diff)
downloadQt-7421702dd3202c21f3871171792476f0d2d50abe.zip
Qt-7421702dd3202c21f3871171792476f0d2d50abe.tar.gz
Qt-7421702dd3202c21f3871171792476f0d2d50abe.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Conflicts: src/declarative/qml/qmlcompiler.cpp
Diffstat (limited to 'src/declarative/qml/qmlscriptparser.cpp')
-rw-r--r--src/declarative/qml/qmlscriptparser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/qml/qmlscriptparser.cpp b/src/declarative/qml/qmlscriptparser.cpp
index 1c7bf83..57e40b6 100644
--- a/src/declarative/qml/qmlscriptparser.cpp
+++ b/src/declarative/qml/qmlscriptparser.cpp
@@ -87,12 +87,12 @@ class ProcessAST: protected AST::Visitor
const State &state = top();
if (state.property) {
State s(state.property->getValue(),
- state.property->getValue()->getProperty(name.toLatin1()));
+ state.property->getValue()->getProperty(name.toUtf8()));
s.property->location = location;
push(s);
} else {
State s(state.object,
- state.object->getProperty(name.toLatin1()));
+ state.object->getProperty(name.toUtf8()));
s.property->location = location;
push(s);
@@ -312,7 +312,7 @@ ProcessAST::defineObjectBinding_helper(AST::UiQualifiedId *propertyName,
// XXX this doesn't do anything (_scope never builds up)
_scope.append(resolvableObjectType);
- obj->typeName = qualifiedNameId().toLatin1();
+ obj->typeName = qualifiedNameId().toUtf8();
_scope.removeLast();
obj->location = location;