diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-09-09 08:52:40 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-09-09 10:57:46 (GMT) |
commit | 1f803aeb390720336a23941f3d1ec71ef0e29083 (patch) | |
tree | 9c2267046aec7cccb7faf5e5a55d545fad923b3d /src/gui/text | |
parent | 7ab0bed3a56d46c386e65abc381264c57137cb43 (diff) | |
download | Qt-1f803aeb390720336a23941f3d1ec71ef0e29083.zip Qt-1f803aeb390720336a23941f3d1ec71ef0e29083.tar.gz Qt-1f803aeb390720336a23941f3d1ec71ef0e29083.tar.bz2 |
Reset trailingSpaces in relayout
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui/text')
-rw-r--r-- | src/gui/text/qtextlayout.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/text/qtextlayout.cpp b/src/gui/text/qtextlayout.cpp index cf361a0..4595ef5 100644 --- a/src/gui/text/qtextlayout.cpp +++ b/src/gui/text/qtextlayout.cpp @@ -1708,6 +1708,7 @@ void QTextLine::layout_helper(int maxGlyphs) { QScriptLine &line = eng->lines[i]; line.length = 0; + line.trailingSpaces = 0; line.textWidth = 0; line.hasTrailingSpaces = false; |