# HG changeset patch # User displacer # Date 1169675923 0 # Node ID c0d788307314b7be8c50a12af911b1ecfd3a0cb5 # Parent b28e0dd482696f5d37b4296cfaead4ab0f1fffbb more accurate selection colors for teamselect widget diff -r b28e0dd48269 -r c0d788307314 QTfrontend/teamselhelper.cpp --- a/QTfrontend/teamselhelper.cpp Wed Jan 24 20:00:03 2007 +0000 +++ b/QTfrontend/teamselhelper.cpp Wed Jan 24 21:58:43 2007 +0000 @@ -120,6 +120,7 @@ QPalette newPalette = palette(); newPalette.setColor(QPalette::Button, QColor(*pOurFrameTeams->currentColor)); + newPalette.setColor(QPalette::Highlight, QColor(*pOurFrameTeams->currentColor)); //colorButt->setStyleSheet(QString("background-color : ")+pOurFrameTeams->currentColor->name()); colorButt->setStyle(QStyleFactory::create("plastique")); colorButt->setPalette(newPalette);