diff options
author | Yoann Lopes <yoann.lopes@digia.com> | 2014-02-06 16:53:16 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-14 15:02:09 +0100 |
commit | d12e670a6f8e4d0a82b691486bd0046d8edb2c63 (patch) | |
tree | bfd3aeb3d43aefc2b29842c8bdd1a056ecf4412b /src/gui/painting | |
parent | 3232682d3b04ff16806fd8c5ad36271876a7b419 (diff) |
iOS: correctly report Landscape or InvertedLandscape screen orientation.
The Qt documentation says that PortraitOrientation is rotated 90 degrees
clockwise relative to LandscapeOrientation. This means that the home
button should be on the right when held in LandscapeOrientation,
therefore, Qt::LandscapeOrientation == UIDeviceOrientationLandscapeLeft.
Without this patch, all QScreen mapping functions are broken.
Change-Id: I2c570cd0307b7fbd59c749d6574dcb258790cfbc
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'src/gui/painting')
0 files changed, 0 insertions, 0 deletions