diff options
author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2014-09-26 15:06:46 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2014-10-02 13:58:01 +0200 |
commit | 231a4a11011f9feb35b1eb41846f09d12b79e1ae (patch) | |
tree | bcd32c22cedb2eed3f324973c29fd00583d38c0b /src/plugins/platforms/ios/qiosscreen.h | |
parent | c027175021e0d8b0d1b66cda4667c73cae5e2941 (diff) |
iOS: Move statusbar visibility handling to QIOSViewController
It doesn't belong in QIOScreen, and simplifies the flow when changing
the focus window or the window state of the focus window. Both will
result in calling updateProperties on the view-controller, which will
re-configure the statusbar visibility and hide/show it as appropriate,
before triggering a re-layout of its own view, which will in turn
trigger an update of the screen properties based on the new statusbar
state, before re-layouting of QWindow based on the new screen state.
Change-Id: I89077a3fb5f843949ce833e4e727d2c753ea2eb6
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'src/plugins/platforms/ios/qiosscreen.h')
-rw-r--r-- | src/plugins/platforms/ios/qiosscreen.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/platforms/ios/qiosscreen.h b/src/plugins/platforms/ios/qiosscreen.h index 69fe17d9af..7987ef82d5 100644 --- a/src/plugins/platforms/ios/qiosscreen.h +++ b/src/plugins/platforms/ios/qiosscreen.h @@ -66,9 +66,6 @@ public: void updateProperties(); -public slots: - void updateStatusBarVisibility(); - private: UIScreen *m_uiScreen; UIWindow *m_uiWindow; |