Commit e624c2d9 authored by Andrew den Exter's avatar Andrew den Exter Committed by Qt by Nokia
Browse files

Don't crash when calculating the implicit width of truncated lines.


Remember to call beginLayout() on the QTextLayout before creating
lines or the layout data won't be allocated.

Change-Id: Ic344ca376fc25e38c50078135deb02dee3afc4f1
Reviewed-by: default avatarChris Adams <christopher.adams@nokia.com>
Reviewed-by: default avatarYann Bodson <yann.bodson@nokia.com>
parent e5c04205
No related merge requests found
Showing with 5 additions and 2 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment