diff options
author | John Cumming <john@jsolutions.co.uk> | 2015-11-05 15:56:38 +0000 |
---|---|---|
committer | John Cumming <john@jsolutions.co.uk> | 2015-11-19 11:53:30 +0000 |
commit | 208496091d994c2ffe44ea41368fb659978c1581 (patch) | |
tree | e39cd356272b21e6083f3e9400ca610add566f50 /src | |
parent | a7db6e34670b946c38e46ed28d8146c271c6c130 (diff) |
Add Section Symbol at end of text flow when showing paragraphs
Insert a section symbol (U+00A7) to the end of a text flow instead of a
space as many text layout applications do.
Task-number: QTBUG-49252
Change-Id: Ib1276b508c24824b6329e0458ae5171bc1a288c3
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/text/qtextengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextengine.cpp b/src/gui/text/qtextengine.cpp index 50a242d81e..68747ad6ad 100644 --- a/src/gui/text/qtextengine.cpp +++ b/src/gui/text/qtextengine.cpp @@ -1547,7 +1547,7 @@ void QTextEngine::validate() const if (block.docHandle()) { layoutData->string = block.text(); if (option.flags() & QTextOption::ShowLineAndParagraphSeparators) - layoutData->string += QLatin1Char(block.next().isValid() ? 0xb6 : 0x20); + layoutData->string += QLatin1Char(block.next().isValid() ? 0xb6 : 0xA7); } else { layoutData->string = text; } |