summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2012-12-25 22:27:27 +0100
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-02-27 23:56:02 +0100
commit8a854ea804c500c2f0425784fd6a24b843016077 (patch)
tree5c85774aba1ea83506d89ae9b822519f0484e231 /src
parent78fec3372ad819cc93b9cfb5bd3df2da6d792cbd (diff)
iOS: Don't init our own base view for the root viewcontroller
This is handled automatically by the default implementation. Change-Id: Ia9bd0143490e6f2507ede03f3654a2b0b00e3e3d Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/platforms/ios/qtmain.mm1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/platforms/ios/qtmain.mm b/src/plugins/platforms/ios/qtmain.mm
index 04151cd720..00bb581535 100644
--- a/src/plugins/platforms/ios/qtmain.mm
+++ b/src/plugins/platforms/ios/qtmain.mm
@@ -57,7 +57,6 @@ extern int qt_main(int argc, char *argv[]);
{
self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
self.window.rootViewController = [[[QIOSViewController alloc] init] autorelease];
- self.window.rootViewController.view = [[UIView alloc] init];
// Aid debugging during development
self.window.backgroundColor = [UIColor cyanColor];