summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-10-12 23:48:25 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-10-12 23:50:40 (GMT)
commitd71db342a34690438878684f054dca820f77b1b9 (patch)
tree3beeffd8bb0e4d7bea775ed7ccb24bec6c95c358 /src/declarative/qml
parent199845126df4b4ab0b8bf329bb104a7e3b2404bf (diff)
downloadQt-d71db342a34690438878684f054dca820f77b1b9.zip
Qt-d71db342a34690438878684f054dca820f77b1b9.tar.gz
Qt-d71db342a34690438878684f054dca820f77b1b9.tar.bz2
Fix UTF8 vs. Latin1 conversion
I18n tests
Diffstat (limited to 'src/declarative/qml')
-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 245ddc0..ef0f975 100644
--- a/src/declarative/qml/qmlengine.cpp
+++ b/src/declarative/qml/qmlengine.cpp
@@ -1106,7 +1106,7 @@ public:
}
}
if (url_return) {
- *url_return = base.resolved(QUrl(QLatin1String(type + ".qml")));
+ *url_return = base.resolved(QUrl(QString::fromUtf8(type + ".qml")));
return true;
} else {
return false;