diff options
author | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-08-18 14:53:35 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-08-18 15:00:53 (GMT) |
commit | 40fef756b1e27aaceead7baaf3225c023f0da121 (patch) | |
tree | 66a32b2b1b77e34218923a30679e9b18e25aaeda /doc/src/snippets/code/src_network_socket_qudpsocket.cpp | |
parent | e51e71cc3f7b79f2e87888f298eb8968a1929fe0 (diff) | |
download | Qt-40fef756b1e27aaceead7baaf3225c023f0da121.zip Qt-40fef756b1e27aaceead7baaf3225c023f0da121.tar.gz Qt-40fef756b1e27aaceead7baaf3225c023f0da121.tar.bz2 |
Fixed rounding error in fillRect() in the raster paint engine
Problem introduced by 7661126bc86ed105c02fd9b084ac5a91f12f10c4, which
introduced always rounding up when converting the rectangle's
coordinates to integers. This would e.g. cause off-by-one errors for the
cursor in QTextDocument. Some code paths depended on the ceiling of the
coordinates, and these have been reverted.
Task-number: 257914
Reviewed-by: Samuel
Diffstat (limited to 'doc/src/snippets/code/src_network_socket_qudpsocket.cpp')
0 files changed, 0 insertions, 0 deletions