iOS: Fix failing assert in QUIView displayLayer()
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>
Mon, 9 Dec 2013 14:09:29 +0000 (15:09 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 11 Dec 2013 12:40:14 +0000 (13:40 +0100)
commit37f99502f9006c5681686e4a43bc80c2b1d0b089
treea9f33c841648f00131d638daf1aa2b70a62420c6
parent7fef5fe2932401294dea8edac7a64f4e5864c98f
iOS: Fix failing assert in QUIView displayLayer()

In layoutSubviews we take the root viewcontroller position into account
when determening the new QWindow geometry, but we were missing this logic
in displayLayer, and would assert if the in-call statusbar was visible.

Since we don't really need the position of the window in displayLayer,
we change the assert to only check the size of the exposed area, which
is independent of the position of the root viewcontroller.

Change-Id: I774b8d9b075518e729f488a789b3a9e584c3f4d3
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
src/plugins/platforms/ios/qioswindow.mm