background colors bugfix :(
authordisplacer
Tue, 31 Oct 2006 23:32:46 +0000
changeset 225 8907889e3101
parent 224 d1a7490add18
child 226 be2e08b0109f
background colors bugfix :(
QTfrontend/teamselhelper.cpp
--- 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);
 }