iOS: Enable retina resolution for styles
authorMorten Johan Sørvig <morten.sorvig@digia.com>
Wed, 30 Jan 2013 19:31:06 +0000 (20:31 +0100)
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>
Wed, 27 Feb 2013 22:56:07 +0000 (23:56 +0100)
commit60685407c208466c67830744808b8a902bd2377b
tree44ee7b25bc40bbd922e2747e5411629c6f14b261
parent58415530aacc5ef92f0076f7dff04d4f5074c4da
iOS: Enable retina resolution for styles

The QStyle code uses the global qApp->devicePixelRatio(),
which queries the screen, not the window.

Implement QIOSScreen::devicePixelRatio().

Change-Id: I0091e5793f8d07ab7a46b6de443edd9457dcff85
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
src/plugins/platforms/ios/qiosscreen.h
src/plugins/platforms/ios/qiosscreen.mm