diff options
author | Fabian Bumberger <fbumberger@rim.com> | 2014-03-12 15:59:47 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-19 04:17:01 +0100 |
commit | 4059e586cc5cebd7b747f8428c8d018812c7c519 (patch) | |
tree | 7435d0aff91d884adf772a927459e0c95c9ca4d0 /src/plugins/platforms/qnx/qqnxwindow.cpp | |
parent | ea057c83720abd0c3c57d9dab91a5ad704b158d3 (diff) | |
download | qtbase-4059e586cc5cebd7b747f8428c8d018812c7c519.tar.gz |
QNX: Remove sending synchronous window system events
This makes some OpenGL autotests fail. Apparently we are sending a expose event before the window
is properly exposed.
Change-Id: I1710ec51605088ce594fc4676214db2d822d1cc5
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxwindow.cpp')
-rw-r--r-- | src/plugins/platforms/qnx/qqnxwindow.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/platforms/qnx/qqnxwindow.cpp b/src/plugins/platforms/qnx/qqnxwindow.cpp index e43aaa83e8..95b6c904f2 100644 --- a/src/plugins/platforms/qnx/qqnxwindow.cpp +++ b/src/plugins/platforms/qnx/qqnxwindow.cpp @@ -247,14 +247,8 @@ void QQnxWindow::setGeometry(const QRect &rect) setGeometryHelper(newGeometry); - // Send a geometry change event to Qt (triggers resizeEvent() in QWindow/QWidget). - - // Calling flushWindowSystemEvents() here would flush input events which - // could result in re-entering QQnxWindow::setGeometry() again. - QWindowSystemInterface::setSynchronousWindowsSystemEvents(true); QWindowSystemInterface::handleGeometryChange(window(), newGeometry); QWindowSystemInterface::handleExposeEvent(window(), newGeometry); - QWindowSystemInterface::setSynchronousWindowsSystemEvents(false); } void QQnxWindow::setGeometryHelper(const QRect &rect) |