QNX: Post orientation change events

Change-Id: I4dc13e5388e065c2425641c7efabcdee8f94800e
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
bb10
Kevin Ottens 2012-05-21 12:51:17 +02:00 committed by Qt by Nokia
parent 375b464db4
commit e9d20b1951
1 changed files with 3 additions and 1 deletions

View File

@ -223,8 +223,10 @@ void QQnxScreen::setRotation(int rotation)
// TODO: check if other screens are supposed to rotate as well and/or whether this depends
// on if clone mode is being used.
// Rotating only the primary screen is what we had in the navigator event handler before refactoring
if (m_primaryScreen)
if (m_primaryScreen) {
QWindowSystemInterface::handleScreenOrientationChange(screen(), orientation());
QWindowSystemInterface::handleScreenGeometryChange(screen(), m_currentGeometry);
}
}
}