QNX: Fix geometry changed event for non FS windows

For non full screen windows the geometry change event was not sent.

Change-Id: I982621d87fe248bbe13640dd3e17b31fb9f30120
Reviewed-by: Bernd Weimer <bweimer@blackberry.com>
Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>
This commit is contained in:
Fabian Bumberger 2014-03-25 12:12:11 +01:00 committed by The Qt Project
parent 38fc11b74b
commit 3f4277c264

View File

@ -709,12 +709,12 @@ void QQnxWindow::initWindow()
if (window()->parent() && window()->parent()->handle())
setParent(window()->parent()->handle());
if (shouldMakeFullScreen()) {
if (shouldMakeFullScreen())
setGeometryHelper(screen()->geometry());
QWindowSystemInterface::handleGeometryChange(window(), screen()->geometry());
} else {
else
setGeometryHelper(window()->geometry());
}
QWindowSystemInterface::handleGeometryChange(window(), screen()->geometry());
}
void QQnxWindow::createWindowGroup()