diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-01-16 14:51:33 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-20 11:49:39 +0100 |
commit | 3a9e7f056f487c9740621750067781d33a7c9f34 (patch) | |
tree | 71dc899d85e825358074b8f48b0212cbe038d11f /src/qml/compiler/qqmltypecompiler_p.h | |
parent | 3e3de9e357fa55074ff6025d68c0477ac5da30ae (diff) |
[new compiler] Fix customer parser use with nested objects
Types with a custom parser attached don't need to continue with validation of
properties in sub-objects.
Change-Id: Ib25f8e037cf651dfb30dd4016f89980612dff4f4
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qqmltypecompiler_p.h')
-rw-r--r-- | src/qml/compiler/qqmltypecompiler_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qqmltypecompiler_p.h b/src/qml/compiler/qqmltypecompiler_p.h index 248cd12796..4fde8f58c2 100644 --- a/src/qml/compiler/qqmltypecompiler_p.h +++ b/src/qml/compiler/qqmltypecompiler_p.h @@ -185,7 +185,7 @@ public: private: - bool validateObject(const QV4::CompiledData::Object *obj, int objectIndex, QQmlPropertyCache *propertyCache); + bool validateObject(int objectIndex); bool isComponent(int objectIndex) const { return objectIndexToIdPerComponent.contains(objectIndex); } |