summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/platforms/qnx/qqnxwindow.cpp6
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)