summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-10-15 03:50:52 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-10-15 03:50:52 (GMT)
commit14f7463ceb008269a50d7108b983c6be5c34c8b0 (patch)
tree83c30054f267ce7097f8dbe833e6491b942d92f1 /src/declarative
parent2e1b1d35127c66a20645b65ae293299c5a67c4e9 (diff)
downloadQt-14f7463ceb008269a50d7108b983c6be5c34c8b0.zip
Qt-14f7463ceb008269a50d7108b983c6be5c34c8b0.tar.gz
Qt-14f7463ceb008269a50d7108b983c6be5c34c8b0.tar.bz2
Unicode namespace fix.
(no bug reported)
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/qml/qmlengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlengine.cpp b/src/declarative/qml/qmlengine.cpp
index f0ecf1d..528e8c9 100644
--- a/src/declarative/qml/qmlengine.cpp
+++ b/src/declarative/qml/qmlengine.cpp
@@ -1099,7 +1099,7 @@ public:
int slash = type.indexOf('/');
if (slash >= 0) {
while (!s) {
- s = set.value(QString::fromLatin1(type.left(slash)));
+ s = set.value(QString::fromUtf8(type.left(slash)));
int nslash = type.indexOf('/',slash+1);
if (nslash > 0)
slash = nslash;