diff options
author | Sami Merila <sami.merila@nokia.com> | 2011-01-26 07:05:19 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2011-01-28 09:46:00 (GMT) |
commit | 55f760f36b945af4e3f2009ecee3d234d421d2ce (patch) | |
tree | 99d6b80b5994f85fe76752558c5ade0407f8445e /src/gui/kernel | |
parent | 374aa39abf0fc14eadb59346c5fb9d6dd763e592 (diff) | |
download | Qt-55f760f36b945af4e3f2009ecee3d234d421d2ce.zip Qt-55f760f36b945af4e3f2009ecee3d234d421d2ce.tar.gz Qt-55f760f36b945af4e3f2009ecee3d234d421d2ce.tar.bz2 |
Application background is incorrect if app locked to landscape.
If application orientation has been locked to landscape and application
is started out while device orientation is portrait, QS60Style draws
the QPalette::background like device would be in landscape. Style
is incorrectly following device orientation, when it should follow
application orientation.
As a fix, style follows now application orientation. As a bonus,
unnecessary fullscreen QPixmap creation is avoided when rotating the
device.
Task-number: QTBUG-16816
Reviewed-by: Jani Hautakangas
(cherry picked from commit 54313b3ba81c276cf06c40c2420b1ff1f30e64c3)
Diffstat (limited to 'src/gui/kernel')
0 files changed, 0 insertions, 0 deletions