Speed up TextInput and TextEdit creation.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Tue, 3 Jan 2012 00:37:26 +0000 (10:37 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 4 Jan 2012 00:19:14 +0000 (01:19 +0100)
commitbda2f4bdd855fddf6bd456efa0389e65eecb8c91
treefeed56f3769c70812b3a7e16219e6971b0339d31
parent03dbc6a857fcd4b57a8520dc0914ee907d1c1260
Speed up TextInput and TextEdit creation.

Update the canPaste property directly when changing the read-only
property instead of connecting to the readOnlyChanged signal.

Change-Id: Ic6f6ba66f6b94448045703f7d2a66218548190dd
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/items/qquicktextedit.cpp
src/quick/items/qquicktextinput.cpp