diff options
author | Liang Qi <liang.qi@qt.io> | 2017-10-04 10:41:55 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2017-10-04 10:41:55 +0200 |
commit | 0d3592aa7fab8bf4d8f80bc3b35323efe6950b1b (patch) | |
tree | 169707c4318185c418c8705628f03dd4118223e0 /tests/auto/quick/qquickbehaviors/data/overwrittenbehavior.qml | |
parent | b9e3df1cceb337947c2c701975163b53dbe131d8 (diff) | |
parent | 265b3bea18c1ac13da413931024f64f49a2da7fc (diff) |
Merge remote-tracking branch 'origin/5.9' into 5.10v5.10.0-beta1
Change-Id: I75b0099b2b9ebb5cfb6f07b43b90b598743ae033
Diffstat (limited to 'tests/auto/quick/qquickbehaviors/data/overwrittenbehavior.qml')
-rw-r--r-- | tests/auto/quick/qquickbehaviors/data/overwrittenbehavior.qml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickbehaviors/data/overwrittenbehavior.qml b/tests/auto/quick/qquickbehaviors/data/overwrittenbehavior.qml new file mode 100644 index 0000000000..e627c45782 --- /dev/null +++ b/tests/auto/quick/qquickbehaviors/data/overwrittenbehavior.qml @@ -0,0 +1,14 @@ +import QtQuick 2.4 + +Item { + property bool behaviorTriggered + property bool someProperty + + ItemWithInnerBehavior { + //the existence of this property triggers the bug + property bool iDoAbsolutelyNothing + + Component.onCompleted: parent.someProperty = true + someValue: parent.someProperty + } +} |