QNX: Advertise geometry changes to Qt event system

Some QWindow subclass rely on those events to be sent to know when
the window geometry changes (e.g. QQuickCanvas).

Change-Id: I16d3928803d09761f265544fdf10a5d080fccc17
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
This commit is contained in:
Kevin Ottens 2012-05-21 12:55:03 +02:00 committed by Qt by Nokia
parent 2ee67d3826
commit 20a52687ec

View File

@ -188,6 +188,8 @@ void QQnxWindow::setGeometry(const QRect &rect)
qFatal("QQnxWindow: failed to set window source size, errno=%d", errno);
}
QWindowSystemInterface::handleGeometryChange(window(), rect);
// Now move all children.
QPoint offset;
if (!oldGeometry.isEmpty()) {