diff options
author | Morten Johan Sørvig <morten.sorvig@digia.com> | 2014-03-12 11:01:26 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-17 09:15:15 +0100 |
commit | ffc8aac684e97bad1fb598883fa05ae66f7f1e4c (patch) | |
tree | 2e0694728d31921a57ac3555446a1a696bb35e83 /src/platformsupport | |
parent | 0b7beaaaf2384fae01ae403737450a59b2fcabac (diff) |
Fix high-dpi QGraphicsPixmapItem bounding rects.
QGraphicsPixmapItem did not take the pixmaps
devicePixelRatio into account when calculating the
bounding rect. As a consequence, a 512x512@2x pixmap
would get a 512x512 bounding size instead of the
correct 256x256 bounding size.
Task-number: QTBUG-37008
Change-Id: I266e418b7e5d92bf1d4c96bd9380a27708dc2b4a
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Reviewed-by: Andreas Aardal Hanssen <andreas@hanssen.name>
Diffstat (limited to 'src/platformsupport')
0 files changed, 0 insertions, 0 deletions