summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/ios/qioseventdispatcher.mm
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@digia.com>2013-02-14 19:45:48 +0100
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-02-27 23:56:10 +0100
commitfecc1554080aa58167b8cc7018b2ccd037d05cfe (patch)
treeb44b3238af9e12fce74b33e1407e9d3c7a832361 /src/plugins/platforms/ios/qioseventdispatcher.mm
parentc75bc5b532479e8dbe6b7f07dcc5f9fcc915f5c7 (diff)
iOS: Enable autorotate on startup.
The qobject_cast to QGuiAppplication will always fail at startup since QGuiApplication is not ready yet. Return YES in that case. Allowed orientations can then be controlled by setting "Supported Interface Orientations" in Xcode or the Info.plist file. Change-Id: Ifd86bbcedabc716e63563bbb7cb0c1c6833fd6c7 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'src/plugins/platforms/ios/qioseventdispatcher.mm')
0 files changed, 0 insertions, 0 deletions