more accurate selection colors for teamselect widget
authordisplacer
Wed, 24 Jan 2007 21:58:43 +0000
changeset 363 c0d788307314
parent 362 b28e0dd48269
child 364 52cb4d6f84b7
more accurate selection colors for teamselect widget
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);