QNX: Force windows resizing when the screen orientation changes

Change-Id: I82e464df86b55f04498a8f6f5c1cc5011cac0bd6
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
This commit is contained in:
Kevin Ottens 2012-05-22 17:36:13 +02:00 committed by Qt by Nokia
parent 600eee0481
commit 2ee67d3826

View File

@ -226,6 +226,7 @@ void QQnxScreen::setRotation(int rotation)
if (m_primaryScreen) {
QWindowSystemInterface::handleScreenOrientationChange(screen(), orientation());
QWindowSystemInterface::handleScreenGeometryChange(screen(), m_currentGeometry);
resizeMaximizedWindows();
}
}
}