QNX: Make geometry changes sync to fix QWidget::showFullScreen()

These can't happen async, as otherwise the geometry of the widget is
changed too late, having the effect that QWidget::show_sys() would
overwrite the window geometry again.

Change-Id: Id60d009867a5b282ac14c112c872af1075660732
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
bb10
Thomas McGuire 2012-06-28 11:34:41 +02:00 committed by Qt by Nokia
parent 4cf5ffc2a6
commit a85759f077
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ void QQnxWindow::setGeometry(const QRect &rect)
m_platformOpenGLContext->makeCurrent(this);
}
QWindowSystemInterface::handleGeometryChange(window(), rect);
QWindowSystemInterface::handleSynchronousGeometryChange(window(), rect);
// Now move all children.
QPoint offset;