diff options
author | Benjamin Poulain <benjamin.poulain@nokia.com> | 2009-08-21 12:36:35 (GMT) |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2009-08-21 12:41:24 (GMT) |
commit | f31a7b2d7f08c39dbe2e987ec53bff56ca89c3d1 (patch) | |
tree | 8e51f6d77a638e72443634cfe22ea2dfe9644266 /src/testlib/qtestspontaneevent.h | |
parent | 7023e7f95bdbc0a3c6923336c846f06a7b16e6fa (diff) | |
download | Qt-f31a7b2d7f08c39dbe2e987ec53bff56ca89c3d1.zip Qt-f31a7b2d7f08c39dbe2e987ec53bff56ca89c3d1.tar.gz Qt-f31a7b2d7f08c39dbe2e987ec53bff56ca89c3d1.tar.bz2 |
Fix the size returned by QCommonStylePrivate::viewItemSize() for text
The size of the text, computed in qreal, was rounded. If the decimal
part of the size was < 0.5, a pixel was missing in the size returned.
Reviewed-by: Samuel Rødal
Reviewed-by: Olivier Goffart
Diffstat (limited to 'src/testlib/qtestspontaneevent.h')
0 files changed, 0 insertions, 0 deletions