path: root/src/plugins/platforms/ios/qiosscreen.h
diff options
authorTor Arne Vestbø <>2014-07-04 15:03:43 +0200
committerTor Arne Vestbø <>2014-07-23 13:23:23 +0200
commit66c47292bdf0843148b3c557321514d4d08c8ac6 (patch)
tree67faab600601cb8c002603074e8906c5017f1898 /src/plugins/platforms/ios/qiosscreen.h
parent3770f4b1489b8d0d8fd6ffef23b8aac7dbf2e33b (diff)
iOS: Let QScreen manage UIWindow and root view-controller
Instead of having the application delegate set up a UIWindow and root view-controller, we move the responsibility to QScreen, since in a multi screen scenario we will need one UIWindow per screen, as well as one root viewcontroller per window. Change-Id: If5b0d44b8f8a697d830b33b4fe420bff56a7629b Reviewed-by: Tor Arne Vestbø <>
Diffstat (limited to 'src/plugins/platforms/ios/qiosscreen.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/ios/qiosscreen.h b/src/plugins/platforms/ios/qiosscreen.h
index a6ef7a2593..9c7d53dcd6 100644
--- a/src/plugins/platforms/ios/qiosscreen.h
+++ b/src/plugins/platforms/ios/qiosscreen.h
@@ -80,6 +80,7 @@ public slots:
UIScreen *m_uiScreen;
+ UIWindow *m_uiWindow;
QRect m_geometry;
QRect m_availableGeometry;
int m_depth;