QTfrontend/teamselhelper.cpp
changeset 225 8907889e3101
parent 207 287077789132
child 229 91043d0c2247
--- a/QTfrontend/teamselhelper.cpp	Mon Oct 30 20:03:19 2006 +0000
+++ b/QTfrontend/teamselhelper.cpp	Tue Oct 31 23:32:46 2006 +0000
@@ -96,5 +96,6 @@
   
   QPalette newPalette = palette();
   newPalette.setColor(QPalette::Button, QColor(*pOurFrameTeams->currentColor));
-  colorButt->setPalette(newPalette);
+  colorButt->setStyleSheet(QString("background-color : ")+pOurFrameTeams->currentColor->name());
+  //colorButt->setPalette(newPalette);
 }