summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorJens Bache-Wiig <jbache@trolltech.com>2010-03-29 16:47:50 (GMT)
committerJens Bache-Wiig <jbache@trolltech.com>2010-03-29 16:47:50 (GMT)
commitffd4c014747f6842b9103d67204b5b54626bf876 (patch)
tree77f314ea57977cc19322b7342caeee77737810d3 /src/gui
parentb3eac3f43b087ee7939a607cd8a6e5ed398f6716 (diff)
downloadQt-ffd4c014747f6842b9103d67204b5b54626bf876.zip
Qt-ffd4c014747f6842b9103d67204b5b54626bf876.tar.gz
Qt-ffd4c014747f6842b9103d67204b5b54626bf876.tar.bz2
Do not override alternate background color in Plastique
This palette tweak is no longer needed now that we set alternate row color on application startup. It also breaks on systems such as GNOME and KDE where you can configure this color. Reviewed-by: ogoffart Task-number: QTBUG-6516
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/styles/qplastiquestyle.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/styles/qplastiquestyle.cpp b/src/gui/styles/qplastiquestyle.cpp
index 4ae9f79..fbb5e4d 100644
--- a/src/gui/styles/qplastiquestyle.cpp
+++ b/src/gui/styles/qplastiquestyle.cpp
@@ -5846,7 +5846,6 @@ void QPlastiqueStyle::polish(QApplication *app)
void QPlastiqueStyle::polish(QPalette &pal)
{
QWindowsStyle::polish(pal);
- pal.setBrush(QPalette::AlternateBase, pal.base().color().darker(110));
#ifdef Q_WS_MAC
pal.setBrush(QPalette::Shadow, Qt::black);
#endif