Cocoa: Make grabWindow work on retina displays.
authorMorten Johan Sørvig <morten.sorvig@digia.com>
Mon, 25 Feb 2013 13:14:47 +0000 (14:14 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 25 Feb 2013 20:24:37 +0000 (21:24 +0100)
commit47e12eafdd7d2b2bc0e4db67cef5e063dfdc7aff
tree3279f1f73064e42c89b5e74de3c1fe47c8d44d31
parente37d5791839a55428a396b7a93b9284d82dace8f
Cocoa: Make grabWindow work on retina displays.

Not taking the devicePixelRatio into account causes
us to either grab a quarter of the screen or do a
low-resolution grab.

Change-Id: Ie6b681e3a089f17b63554c8158bb471a14963d7a
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
src/plugins/platforms/cocoa/qcocoaintegration.mm