summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/doc_src_examples_imageviewer.cpp
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2011-06-29 14:36:09 +0300
committerSami Merila <sami.merila@nokia.com>2011-06-29 14:36:09 +0300
commit2197b8be6003ad3d0071564afb7080650202661b (patch)
tree57b783565a2cac02ab5a714cd803b7b0f0773127 /doc/src/snippets/code/doc_src_examples_imageviewer.cpp
parent177f466bc581f8ad5bd4e883e8bc342a0b6c7484 (diff)
downloadqt4-tools-2197b8be6003ad3d0071564afb7080650202661b.tar.gz
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 'doc/src/snippets/code/doc_src_examples_imageviewer.cpp')
0 files changed, 0 insertions, 0 deletions