iOS: Ignore statusbar changes for windows on external screens
Change-Id: Ib7919abb2da324f6ffa058e8b215bf566ff43e40 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
This commit is contained in:
parent
8ca735762d
commit
73ef1ec693
@ -296,6 +296,11 @@
|
||||
if (!isQtApplication())
|
||||
return;
|
||||
|
||||
// For now we only care about the main screen, as both the statusbar
|
||||
// visibility and orientation is only appropriate for the main screen.
|
||||
if (m_screen->uiScreen() != [UIScreen mainScreen])
|
||||
return;
|
||||
|
||||
// Prevent recursion caused by updating the status bar appearance (position
|
||||
// or visibility), which in turn may cause a layout of our subviews, and
|
||||
// a reset of window-states, which themselves affect the view controller
|
||||
|
Loading…
Reference in New Issue
Block a user