Don't do a layout for wrapping if there is no width binding.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Fri, 27 Apr 2012 01:30:34 +0000 (11:30 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 27 Apr 2012 01:45:23 +0000 (03:45 +0200)
commit1770fa632facf2f1e4bb05e7689efc939d46cfef
tree5343c863f7ba7030f6960b42658b6816a91f4811
parenta7017465152d544a4217d5ce4f6f84b80cb9b8b9
Don't do a layout for wrapping if there is no width binding.

If no width has been set on the TextEdit then the text will never wrap
so we can skip the layout on geometry changed.

Task-number: QTBUG-25489
Change-Id: I3aa8dcedeeed0792f3135a4a01f90f24941d01b3
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
src/quick/items/qquicktextedit.cpp