diff options
author | Jens Bache-Wiig <jbache@trolltech.com> | 2010-03-29 16:47:50 (GMT) |
---|---|---|
committer | Jens Bache-Wiig <jbache@trolltech.com> | 2010-03-29 16:47:50 (GMT) |
commit | ffd4c014747f6842b9103d67204b5b54626bf876 (patch) | |
tree | 77f314ea57977cc19322b7342caeee77737810d3 | |
parent | b3eac3f43b087ee7939a607cd8a6e5ed398f6716 (diff) | |
download | Qt-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
-rw-r--r-- | src/gui/styles/qplastiquestyle.cpp | 1 |
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 |