diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-03-26 08:47:06 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-03-26 09:02:05 (GMT) |
commit | 7b9fd32139d1e381f45a0655dafbfc98dc9aca39 (patch) | |
tree | 5d48ab2bc651c8266a244d817035b65a21b56098 /examples/network/bearermonitor/sessionwidget.cpp | |
parent | 3dbfc6d7e87909dabb02e454997daa99d7e064c3 (diff) | |
download | Qt-7b9fd32139d1e381f45a0655dafbfc98dc9aca39.zip Qt-7b9fd32139d1e381f45a0655dafbfc98dc9aca39.tar.gz Qt-7b9fd32139d1e381f45a0655dafbfc98dc9aca39.tar.bz2 |
Fix QItemDelegate::textRectangle
The textRectangle should contain all pixels in the text, including
those which are only partially covered, so the width and height should
never be rounded down. Adding support for fractional font metrics on Mac
made this bug visible. Fixes test failure in itemdelegate autotest.
Reviewed-by: Olivier
Diffstat (limited to 'examples/network/bearermonitor/sessionwidget.cpp')
0 files changed, 0 insertions, 0 deletions