diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2011-10-06 09:53:08 +0200 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2011-10-06 10:58:29 +0200 |
commit | 909c61247c6bd8ea55852aa4626b84f8c0756aad (patch) | |
tree | 04bd54ad9111067ea4c03db118ae5387df203c9a /src/libs/qmljs/qmljsvalueowner.cpp | |
parent | 21f3a69d4ca4d3d92bbae4b29315ddb1ec4c7e29 (diff) | |
download | qt-creator-909c61247c6bd8ea55852aa4626b84f8c0756aad.tar.gz |
QmlJS: Allow 'var' property type.
It's new in Qt 5.
Change-Id: If3e670d42528ca6996ae280d96077ce744d281d9
Reviewed-on: http://codereview.qt-project.org/6121
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/libs/qmljs/qmljsvalueowner.cpp')
-rw-r--r-- | src/libs/qmljs/qmljsvalueowner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/qmljs/qmljsvalueowner.cpp b/src/libs/qmljs/qmljsvalueowner.cpp index aaa9f4d28b..c2c6974fbf 100644 --- a/src/libs/qmljs/qmljsvalueowner.cpp +++ b/src/libs/qmljs/qmljsvalueowner.cpp @@ -948,6 +948,6 @@ const Value *ValueOwner::defaultValueForBuiltinType(const QString &name) const } else if (name == QLatin1String("date")) { return datePrototype(); } - // ### variant + // ### variant or var return undefinedValue(); } |