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:
parent
2ee67d3826
commit
20a52687ec
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user