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>
This commit is contained in:
Tor Arne Vestbø 2012-12-25 22:27:27 +01:00
parent 78fec3372a
commit 8a854ea804

View File

@ -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];