diff options
author | Sami Merilä <sami.merila@nokia.com> | 2009-11-02 10:03:52 (GMT) |
---|---|---|
committer | Sami Merilä <sami.merila@nokia.com> | 2009-11-02 10:03:52 (GMT) |
commit | a80e58335e69c8ce96d1596e0ed2d14e424a0d5e (patch) | |
tree | f3b5bd1ce71fb8806bcce3e72dd21937945b0507 /doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp | |
parent | 8910b449dafcb3475ab8c6f90213cd632412da68 (diff) | |
download | Qt-a80e58335e69c8ce96d1596e0ed2d14e424a0d5e.zip Qt-a80e58335e69c8ce96d1596e0ed2d14e424a0d5e.tar.gz Qt-a80e58335e69c8ce96d1596e0ed2d14e424a0d5e.tar.bz2 |
Style's theme palette hash is lost after orientation switch
Currently, after orientation switch when new theme background is applied,
it is done using QApplication::setPalette(). This unfortunately tosses
away the palette hash. So instead directly calling
QApplication::setPalette(), the fix is to call the style's internal
setThemePalette(), which copies the hash also to QApplication palette.
This is related to bug QT-1478 in Private JIRA.
Task-number: QT-1478
Reviewed-by: Shane Kearns
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp')
0 files changed, 0 insertions, 0 deletions