summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qs60style.cpp
diff options
context:
space:
mode:
authorSami Merilä <sami.merila@nokia.com>2009-05-23 12:21:54 (GMT)
committerSami Merilä <sami.merila@nokia.com>2009-05-23 12:21:54 (GMT)
commite49b60c990ed5f07ea24d4e8b73beafdb2a93a3e (patch)
tree28ea4d472a5029ab4c09a8e31edcd1e862630aa7 /src/gui/styles/qs60style.cpp
parentb0c2155f3b78403e5473379a52195ceaf3468ffa (diff)
downloadQt-e49b60c990ed5f07ea24d4e8b73beafdb2a93a3e.zip
Qt-e49b60c990ed5f07ea24d4e8b73beafdb2a93a3e.tar.gz
Qt-e49b60c990ed5f07ea24d4e8b73beafdb2a93a3e.tar.bz2
S60Style: QScrollArea background is not continuous with main theme background.
Diffstat (limited to 'src/gui/styles/qs60style.cpp')
-rw-r--r--src/gui/styles/qs60style.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp
index 10784f3..38c85b0 100644
--- a/src/gui/styles/qs60style.cpp
+++ b/src/gui/styles/qs60style.cpp
@@ -618,6 +618,9 @@ void QS60StylePrivate::setThemePalette(QWidget *widget) const
widgetPalette.setColor(QPalette::Dark, color.darker());
widgetPalette.setColor(QPalette::Light, color.lighter());
QApplication::setPalette(widgetPalette, "QDial");
+ } else if (qobject_cast<QScrollArea *>(widget)) {
+ widgetPalette.setBrush(QPalette::Window, QBrush());
+ QApplication::setPalette(widgetPalette, "QScrollArea");
}
}