aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlcompiler_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2012-05-04 13:14:43 +0100
committerQt by Nokia <qt-info@nokia.com>2012-05-04 18:15:03 +0200
commitff55f825234dc7ba7fa1436abebd59f2c0f5e5c9 (patch)
tree63cb8c0b8fe15eea40073f7ce1b478dc669fa3bf /src/qml/qml/qqmlcompiler_p.h
parent31abe4e2cd65f1fdf9acec29effd85e6b1af73c3 (diff)
Minor optimizations and cleanup
Change-Id: Iecbd5c46af00f649b1f1d78cdf5f2b40a2844897 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlcompiler_p.h')
-rw-r--r--src/qml/qml/qqmlcompiler_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlcompiler_p.h b/src/qml/qml/qqmlcompiler_p.h
index 5a52dcf403..f2e2376c7a 100644
--- a/src/qml/qml/qqmlcompiler_p.h
+++ b/src/qml/qml/qqmlcompiler_p.h
@@ -94,7 +94,6 @@ public:
TypeReference()
: type(0), typePropertyCache(0), component(0) {}
- QString className;
QQmlType *type;
QQmlPropertyCache *typePropertyCache;
QQmlCompiledData *component;
@@ -403,7 +402,7 @@ private:
int componentTypeRef();
int translationContextIndex();
- static QQmlType *toQmlType(QQmlScript::Object *from);
+ QQmlType *toQmlType(QQmlScript::Object *from);
bool canCoerce(int to, QQmlScript::Object *from);
QString elementName(QQmlScript::Object *);