diff options
author | Trond Kjernåsen <trond@trolltech.com> | 2010-03-01 14:08:26 (GMT) |
---|---|---|
committer | Trond Kjernåsen <trond@trolltech.com> | 2010-03-01 14:16:39 (GMT) |
commit | d04f5336f769d9e5d2f9105e1da4a7d23ea91795 (patch) | |
tree | 5f9b296ffbce83b916502072ede069842dd7a527 /doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp | |
parent | 5255c09fceddf5a1b79c6016f51c0d721c599c9b (diff) | |
download | Qt-d04f5336f769d9e5d2f9105e1da4a7d23ea91795.zip Qt-d04f5336f769d9e5d2f9105e1da4a7d23ea91795.tar.gz Qt-d04f5336f769d9e5d2f9105e1da4a7d23ea91795.tar.bz2 |
Fixed qDrawPixmaps() to draw on integer coordinates on Mac OS X.
For some reason, doing a QPainter::translate(-0.5, 0) and then
QPainter::drawPixmap(0.5, 0, ...) doesn't result in a zero
transformation on Mac OS X. This is a workaround where we calculate the
device coords ourselves if it's only a simple translate operation.
Task-number: QTBUG-8455
Reviewed-by: Kim
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp')
0 files changed, 0 insertions, 0 deletions