aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickbehaviors/data/overwrittenbehavior.qml
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2017-10-04 10:41:55 +0200
committerLiang Qi <liang.qi@qt.io>2017-10-04 10:41:55 +0200
commit0d3592aa7fab8bf4d8f80bc3b35323efe6950b1b (patch)
tree169707c4318185c418c8705628f03dd4118223e0 /tests/auto/quick/qquickbehaviors/data/overwrittenbehavior.qml
parentb9e3df1cceb337947c2c701975163b53dbe131d8 (diff)
parent265b3bea18c1ac13da413931024f64f49a2da7fc (diff)
Merge remote-tracking branch 'origin/5.9' into 5.10v5.10.0-beta1
Diffstat (limited to 'tests/auto/quick/qquickbehaviors/data/overwrittenbehavior.qml')
-rw-r--r--tests/auto/quick/qquickbehaviors/data/overwrittenbehavior.qml14
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
+ }
+}