diff options
Diffstat (limited to 'tests/auto/declarative/qsgtextinput/data/cursorTest.qml')
-rw-r--r-- | tests/auto/declarative/qsgtextinput/data/cursorTest.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/declarative/qsgtextinput/data/cursorTest.qml b/tests/auto/declarative/qsgtextinput/data/cursorTest.qml index 01858fba77..71a420ee7c 100644 --- a/tests/auto/declarative/qsgtextinput/data/cursorTest.qml +++ b/tests/auto/declarative/qsgtextinput/data/cursorTest.qml @@ -1,8 +1,9 @@ import QtQuick 2.0 -Rectangle { width: 300; height: 300; color: "white" +Rectangle { id:rect; width: 300; height: 300; color: "white" + property string contextualProperty: "Hello" TextInput { text: "Hello world!"; id: textInputObject; objectName: "textInputObject" - resources: [ Component { id:cursor; Item { id:cursorInstance; objectName: "cursorInstance";} } ] + resources: [ Component { id:cursor; Item { id:cursorInstance; objectName: "cursorInstance"; property string localProperty: contextualProperty } } ] cursorDelegate: cursor } } |