From a85759f07799ca57ffb436f103b863073cee315c Mon Sep 17 00:00:00 2001 From: Thomas McGuire Date: Thu, 28 Jun 2012 11:34:41 +0200 Subject: [PATCH] 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 Reviewed-by: Sean Harmer --- src/plugins/platforms/qnx/qqnxwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/qnx/qqnxwindow.cpp b/src/plugins/platforms/qnx/qqnxwindow.cpp index 4f52713079..e219954dc9 100644 --- a/src/plugins/platforms/qnx/qqnxwindow.cpp +++ b/src/plugins/platforms/qnx/qqnxwindow.cpp @@ -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;