Commit 290a3250 authored by Christian Kamm's avatar Christian Kamm
Browse files

QmlJS: Fix typo in building string uris.

Change-Id: I94421816f4bd30591925be42d7d386fac589e832
Reviewed-on: http://codereview.qt-project.org/5595

Reviewed-by: default avatarChristian Kamm <christian.d.kamm@nokia.com>
parent c7d8462b
...@@ -215,7 +215,7 @@ bool Bind::visit(UiImport *ast) ...@@ -215,7 +215,7 @@ bool Bind::visit(UiImport *ast)
if (ast->importUri) { if (ast->importUri) {
type = ImportInfo::LibraryImport; type = ImportInfo::LibraryImport;
path = toString(ast->importUri, QDir::separator()); path = toString(ast->importUri, QDir::separator());
name = toString(ast->importUri, QLatin1Char(',')); name = toString(ast->importUri, QLatin1Char('.'));
// treat Qt 4.7 as QtQuick 1.0 // treat Qt 4.7 as QtQuick 1.0
if (path == QLatin1String("Qt") && version == ComponentVersion(4, 7)) { if (path == QLatin1String("Qt") && version == ComponentVersion(4, 7)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment