summaryrefslogtreecommitdiffstats
path: root/src/opengl/qwindowsurface_x11gl_p.h
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2011-06-29 11:36:09 (GMT)
committerSami Merila <sami.merila@nokia.com>2011-06-29 11:36:09 (GMT)
commit2197b8be6003ad3d0071564afb7080650202661b (patch)
tree57b783565a2cac02ab5a714cd803b7b0f0773127 /src/opengl/qwindowsurface_x11gl_p.h
parent177f466bc581f8ad5bd4e883e8bc342a0b6c7484 (diff)
downloadQt-2197b8be6003ad3d0071564afb7080650202661b.zip
Qt-2197b8be6003ad3d0071564afb7080650202661b.tar.gz
Qt-2197b8be6003ad3d0071564afb7080650202661b.tar.bz2
Fix QWidget::palettePropagation2() autotest on Symbian
Autotest fails since calling QApplication::setPalette() clears away QPalette hash (class specific palette information). QS60Style tries to re-set theme-specific hash after updating application palette with real theme background, but does not take into account that application might have defined own custom palette hash data. As a fix, store the previously set palette hash information and restore it after calling QApplication::setPalette(). Additionally, remove the palette change event sending, since QApplication will post that event anyway when palette is updated. Task-number: QT-5011 Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'src/opengl/qwindowsurface_x11gl_p.h')
0 files changed, 0 insertions, 0 deletions