Fixed rendering artifacts when drawing cursor.
authorSamuel Rødal <samuel.rodal@digia.com>
Tue, 20 Nov 2012 11:46:04 +0000 (12:46 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 20 Nov 2012 13:13:07 +0000 (14:13 +0100)
commitb8341127c03f9b6297c6d8ff47e98380677de9aa
tree75ebd20330a7d59b13692b355190c46f645ea2f9
parentbf909bd637e4910a75b60df3b3ca5f2dd79515e4
Fixed rendering artifacts when drawing cursor.

Get rid of the + 1 in addition to the ascent and descent.

Task-number: QTBUG-27658
Change-Id: I8721226a034099ebe348cad3c49ac711c7fe44b9
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
src/gui/text/qtextlayout.cpp