diff options
author | Simon Hausmann <[email protected]> | 2014-01-19 14:22:54 +0100 |
---|---|---|
committer | The Qt Project <[email protected]> | 2014-01-20 18:59:52 +0100 |
commit | 091d8259e0fd820801ee2ffaf87d4f42cdc52c20 (patch) | |
tree | 9f770b9e55516c77f44360c3b02bc05969db53e8 /src/qml/compiler/qv4compileddata_p.h | |
parent | 25c12c94dfb178b4dd4f026cb6f0b17c3d43be6f (diff) |
[new compiler] Correct the use of default property
When a type declares a new default property, then the old default property
continues to apply to its own bindings.
Change-Id: Iafeec772baa4e1a430b09eed0b348b83984246cd
Reviewed-by: Lars Knoll <[email protected]>
Diffstat (limited to 'src/qml/compiler/qv4compileddata_p.h')
-rw-r--r-- | src/qml/compiler/qv4compileddata_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4compileddata_p.h b/src/qml/compiler/qv4compileddata_p.h index f9e85ef080..83e8058be1 100644 --- a/src/qml/compiler/qv4compileddata_p.h +++ b/src/qml/compiler/qv4compileddata_p.h @@ -371,7 +371,7 @@ struct Object // it will be the name of the attached type. quint32 inheritedTypeNameIndex; quint32 idIndex; - quint32 indexOfDefaultProperty; + qint32 indexOfDefaultProperty; // -1 means no default property declared in this object quint32 nFunctions; quint32 offsetToFunctions; quint32 nProperties; |