iOS: Don't crash on landscape mode startup
authorMorten Johan Sørvig <morten.sorvig@digia.com>
Thu, 14 Feb 2013 13:08:09 +0000 (14:08 +0100)
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>
Wed, 27 Feb 2013 22:56:09 +0000 (23:56 +0100)
commitc75bc5b532479e8dbe6b7f07dcc5f9fcc915f5c7
treea3834821293196636b50fd6f8ceffd06abbe1d53
parent11d50be6dd8bbfe695408ccd011cbf63f1b4324a
iOS: Don't crash on landscape mode startup

fromPortraitToPrimary is called from the QIOSScreen
constructor. This is probably to early to call QGuiApplication
functions.

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