diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-02-21 13:04:22 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-02-22 08:42:10 +0000 |
commit | 16aff415a44f5f10c5ac95da72559839305c8ae5 (patch) | |
tree | 4f11a1386344f21928a5a45ff03490081bf65964 /tests/auto/qml/qqmlcomponent | |
parent | 1b01a8b809989c873d7b5bd9c213d8866584ec19 (diff) |
Only generate a warning when assigning null to incompatible properties
Such code used to work before and we should not break it without a
proper deprecation procedure.
Change-Id: I049caf6ae5cc06aa796b19eda858612935b8d674
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlcomponent')
-rw-r--r-- | tests/auto/qml/qqmlcomponent/data/createObjectWithScript.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmlcomponent/data/createObjectWithScript.qml b/tests/auto/qml/qqmlcomponent/data/createObjectWithScript.qml index c5ebed612c..989b295cb5 100644 --- a/tests/auto/qml/qqmlcomponent/data/createObjectWithScript.qml +++ b/tests/auto/qml/qqmlcomponent/data/createObjectWithScript.qml @@ -18,7 +18,7 @@ Item{ id: b Item{ property bool testBool: false - property int testInt: { return null; } + property int testInt: null property QtObject testObject: null } } |