aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qqmlcodegenerator_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-01-24 12:01:33 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-27 13:09:40 +0100
commita1ee538395198f998a73f3ef7545392aeb680900 (patch)
tree0a247a19c52dd65d8f14cd221743213670ec8036 /src/qml/compiler/qqmlcodegenerator_p.h
parent9a5568a1972b72b32ae3058903cc7f4d7123b96b (diff)
[new compiler] Fix support for namespaces in attached properties
When doing import QtQml 2.0 as MyQml with MyQml.Component.onComplete: ... We now store "MyQml.Component" as one string as the type name, in order to get resolved correctly. Change-Id: I11a6def88bcb8b98b5fa9548053e27fb58170e62 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qqmlcodegenerator_p.h')
-rw-r--r--src/qml/compiler/qqmlcodegenerator_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qqmlcodegenerator_p.h b/src/qml/compiler/qqmlcodegenerator_p.h
index c296a3e624..b597afc562 100644
--- a/src/qml/compiler/qqmlcodegenerator_p.h
+++ b/src/qml/compiler/qqmlcodegenerator_p.h
@@ -304,7 +304,7 @@ public:
QString sourceCode;
QUrl url;
QV4::Compiler::JSUnitGenerator *jsGenerator;
- int emptyStringIndex;
+ quint32 emptyStringIndex;
bool sanityCheckFunctionNames();
};