Provide a context when constructing a TextInput cursor delegate.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Fri, 30 Sep 2011 07:17:49 +0000 (17:17 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 12 Oct 2011 02:38:36 +0000 (04:38 +0200)
commitb3f9f53ff12d7fd5fc5b667c6a58169d5de06939
treef7a4cd5e3ad60e23955ecea351fa99bebd6c1173
parentfee823ed6adc77db563468539b47b9d10e02e5c8
Provide a context when constructing a TextInput cursor delegate.

Without a context the delegate won't be able to refer to any external
properties.

Task-number: QTBUG-21780
Change-Id: I7171787e677ce67466b311796693ed88bcacb718
Reviewed-on: http://codereview.qt-project.org/5837
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
src/declarative/items/qsgtextedit.cpp
src/declarative/items/qsgtextinput.cpp
tests/auto/declarative/qsgtextedit/data/cursorTest.qml
tests/auto/declarative/qsgtextedit/tst_qsgtextedit.cpp
tests/auto/declarative/qsgtextinput/data/cursorTest.qml
tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp