summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdbusthreading/.gitignore
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-08-14 15:38:31 (GMT)
committerEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-08-14 15:55:10 (GMT)
commita7b24170890aad476345a5d7a56ded8d62c53df0 (patch)
treef4d8dd08f8801e984b9a35b5dee1fab2996d8781 /tests/auto/qdbusthreading/.gitignore
parent78fbb9cf6ef5e8440f0453ef60bd7845ce418745 (diff)
downloadQt-a7b24170890aad476345a5d7a56ded8d62c53df0.zip
Qt-a7b24170890aad476345a5d7a56ded8d62c53df0.tar.gz
Qt-a7b24170890aad476345a5d7a56ded8d62c53df0.tar.bz2
Avoid wrapping outside word boundaries in QTextDocument unless necessary
If you have a floating object which affects the width available to the text, we need to recalculate the width of the text line. In the code, the setLineWidth() call to do this would by default have WrapAnywhere as its wrap mode, even when this was not necessary. The code has now been moved so that WrapAnywhere is only used if we try to set the line width to match the available width and detect that the text is too wide (the natural text width exceeds the available space.) Task-number: 240325 Reviewed-by: Simon Hausmann
Diffstat (limited to 'tests/auto/qdbusthreading/.gitignore')
0 files changed, 0 insertions, 0 deletions