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>bb10
parent
78fec3372a
commit
8a854ea804
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in New Issue