summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx
diff options
context:
space:
mode:
authorThomas McGuire <thomas.mcguire.qnx@kdab.com>2012-06-28 11:34:41 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-28 12:35:14 +0200
commita85759f07799ca57ffb436f103b863073cee315c (patch)
tree151b0e7a835ecf9d0a5b9a12744913cbef238a95 /src/plugins/platforms/qnx
parent4cf5ffc2a69ab688bfd5377dfe9dd09a3ae00a4b (diff)
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>
Diffstat (limited to 'src/plugins/platforms/qnx')
-rw-r--r--src/plugins/platforms/qnx/qqnxwindow.cpp2
1 files changed, 1 insertions, 1 deletions
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;