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:
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 = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
|
||||||
self.window.rootViewController = [[[QIOSViewController alloc] init] autorelease];
|
self.window.rootViewController = [[[QIOSViewController alloc] init] autorelease];
|
||||||
self.window.rootViewController.view = [[UIView alloc] init];
|
|
||||||
|
|
||||||
// Aid debugging during development
|
// Aid debugging during development
|
||||||
self.window.backgroundColor = [UIColor cyanColor];
|
self.window.backgroundColor = [UIColor cyanColor];
|
||||||
|
Loading…
Reference in New Issue
Block a user