summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qwindowsmobilestyle.cpp
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2011-01-26 07:05:19 (GMT)
committerSami Merila <sami.merila@nokia.com>2011-01-26 07:14:15 (GMT)
commit54313b3ba81c276cf06c40c2420b1ff1f30e64c3 (patch)
tree2322d0a92c852d9b7ad2f385faea286a0d3ca3e2 /src/gui/styles/qwindowsmobilestyle.cpp
parent26fe073919738215cbe58a1115188a124a1124de (diff)
downloadQt-54313b3ba81c276cf06c40c2420b1ff1f30e64c3.zip
Qt-54313b3ba81c276cf06c40c2420b1ff1f30e64c3.tar.gz
Qt-54313b3ba81c276cf06c40c2420b1ff1f30e64c3.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
Diffstat (limited to 'src/gui/styles/qwindowsmobilestyle.cpp')
0 files changed, 0 insertions, 0 deletions