summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/ios/qiosglobal.mm
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2013-05-24 13:51:01 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-28 08:07:26 +0200
commit7f1ad7c7c95ba37c172fa5819b2ba4f78bb3ceb6 (patch)
tree09d114fb31b7318fe43ed6ad1bf96af4dc722626 /src/plugins/platforms/ios/qiosglobal.mm
parent9fdb9b269b65b56ac87b938e49053a6549a9ca92 (diff)
Fix transparent toplevels on Mac OS X again..
We're using QWindow::format() to decide opacity or not in a few places, but this used to resolve to QPlatformFormat::format() which would in turn return a default format without alpha set. Instead, return the format requested by the user. Masked windows were always broken as converting a 32-bit image to an Indexed8, doesn't give a grayscale image, but rather a randomly spreadout set of indices based on the colortable generated by the converToFormat function. Task-number: QTBUG-28531 Change-Id: I537288f85c70b1e6194785b9ebcb5ea1f9581cee Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/plugins/platforms/ios/qiosglobal.mm')
0 files changed, 0 insertions, 0 deletions