summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp
diff options
context:
space:
mode:
authorSami Merilä <sami.merila@nokia.com>2009-11-02 10:03:52 (GMT)
committerSami Merilä <sami.merila@nokia.com>2009-11-02 10:03:52 (GMT)
commita80e58335e69c8ce96d1596e0ed2d14e424a0d5e (patch)
treef3b5bd1ce71fb8806bcce3e72dd21937945b0507 /doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp
parent8910b449dafcb3475ab8c6f90213cd632412da68 (diff)
downloadQt-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