diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2012-02-14 12:55:38 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-14 07:48:38 +0100 |
commit | a4b0ac2af03f4a78469a3dc0e04f785cde4ab381 (patch) | |
tree | e67320e3e6f8bf215965c843c7c6838463b28b72 /tests/auto/qtquick2/qquicktextinput/data/Cursor.qml | |
parent | 452be83f43f190cce04b8dc6b4b5f2e797c5886b (diff) |
Fix access to context properties within TextEdit.cursorDelegate
Don't create the cursorDelegate instance before componentComplete as
the context may not be fully populated prior to that.
Task-number: QTBUG-21780
Change-Id: I6ca8a24989bc28e5c5ca06d61a85e32ff630ce7c
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/qtquick2/qquicktextinput/data/Cursor.qml')
-rw-r--r-- | tests/auto/qtquick2/qquicktextinput/data/Cursor.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/qquicktextinput/data/Cursor.qml b/tests/auto/qtquick2/qquicktextinput/data/Cursor.qml new file mode 100644 index 0000000000..e5c1853fc5 --- /dev/null +++ b/tests/auto/qtquick2/qquicktextinput/data/Cursor.qml @@ -0,0 +1,5 @@ +import QtQuick 2.0 + +Rectangle { + property string localProperty +} |