diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2013-12-11 14:37:19 +0100 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com> | 2015-01-09 11:22:59 +0100 |
| commit | 95cb745e002c38e821b385e90d954adf73363e3c (patch) | |
| tree | 612d068ebd27c694a6cf52a6fa8f1987d8465008 /qmake/generators/unix/unixmake2.cpp | |
| parent | 5c5f43e95b8f56d2bdf34cf5c11aae9d5102f9c6 (diff) | |
iOS: Fix QWindow::reportContentOrientationChange on iOS6+
On iOS 6 and above, [UIViewController supportedInterfaceOrientations]
needs to return 0 for [UIApplication setStatusBarOrientation] to work.
This means once you report a content orientation other than the primary
orientation, you'll disable auto-rotation. Reporting the orientation as
Qt::PrimaryOrientation restores the auto-rotation behavior.
Change-Id: I1b8c765c507728fdbc5b828e0b4215324014e221
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to 'qmake/generators/unix/unixmake2.cpp')
0 files changed, 0 insertions, 0 deletions
