iOS: make QWindow views hidden by default

Qt will tell us when the window should be visible. Showing all
windows by default makes e.g the desktop widget visible as
well, which causes problems with activation of windows.

Change-Id: Ibf2283bc5f009df7ff23126f4dd04ec898141720
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
bb10
Richard Moe Gustavsen 2012-12-19 12:06:10 +01:00 committed by Tor Arne Vestbø
parent 9acae5ce0b
commit 25ce3a021b
1 changed files with 3 additions and 0 deletions

View File

@ -109,6 +109,9 @@
keyboardType = UIKeyboardTypeDefault;
returnKeyType = UIReturnKeyDone;
secureTextEntry = NO;
if (isQtApplication())
self.hidden = YES;
}
return self;