summaryrefslogtreecommitdiffstats
path: root/src/gui/styles
diff options
context:
space:
mode:
authorSami Merilä <sami.merila@nokia.com>2009-11-10 15:06:26 (GMT)
committerSami Merilä <sami.merila@nokia.com>2009-11-10 15:06:26 (GMT)
commitd4089399a3ab7548a864d5a399e08df85c444783 (patch)
treebb0b2d967069b3a9942285855cae5c87c7ca4c6b /src/gui/styles
parent4a3d5b857f2525cc033bcefafe014302116c3535 (diff)
downloadQt-d4089399a3ab7548a864d5a399e08df85c444783.zip
Qt-d4089399a3ab7548a864d5a399e08df85c444783.tar.gz
Qt-d4089399a3ab7548a864d5a399e08df85c444783.tar.bz2
QS60Style palette is not updated after orientation switch
Due to bad first fix for QT-1478, palette is still not updated correctly. Changed palette needs to be set back to QApplication. Task-number: QT-1478 Reviewed-by: Alessandro Portale
Diffstat (limited to 'src/gui/styles')
-rw-r--r--src/gui/styles/qs60style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp
index 5edc8c2..f15a6a5 100644
--- a/src/gui/styles/qs60style.cpp
+++ b/src/gui/styles/qs60style.cpp
@@ -473,7 +473,7 @@ void QS60StylePrivate::setBackgroundTexture(QApplication *app) const
Q_UNUSED(app)
QPalette applicationPalette = QApplication::palette();
applicationPalette.setBrush(QPalette::Window, backgroundTexture());
- setThemePalette(app);
+ setThemePalette(&applicationPalette);
}
void QS60StylePrivate::deleteBackground()