Fix capitalization with newline bug
authorYann Bodson <yann.bodson@nokia.com>
Mon, 25 Jun 2012 03:22:12 +0000 (13:22 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 2 Jul 2012 23:08:37 +0000 (01:08 +0200)
commit2ff6086e0655449ee0c7ca0e4e91ee5bda7ca7bf
tree18b06e4d7772a8c6097e30f09dc37d818f1e9ea3
parentf9c73f0785cd19ddd535778270446b7747f217d2
Fix capitalization with newline bug

We only want to change the capitalization if the QScriptAnalysis flag
was Lowercase, Uppercase or SmallCaps.

Task-number: QTBUG-17485
Change-Id: Icbecb09b06a9153866ae81d592b3f6779c2dafb5
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
src/gui/text/qtextengine.cpp
tests/auto/gui/text/qtextlayout/tst_qtextlayout.cpp