QTfrontend/teamselhelper.cpp
changeset 229 91043d0c2247
parent 225 8907889e3101
child 231 c77b16e48273
--- a/QTfrontend/teamselhelper.cpp	Wed Nov 01 20:26:45 2006 +0000
+++ b/QTfrontend/teamselhelper.cpp	Mon Nov 06 22:51:09 2006 +0000
@@ -21,6 +21,7 @@
 
 #include <QPixmap>
 #include <QPainter>
+#include <QStyleFactory>
 
 #include "frameTeam.h"
 
@@ -96,6 +97,7 @@
   
   QPalette newPalette = palette();
   newPalette.setColor(QPalette::Button, QColor(*pOurFrameTeams->currentColor));
-  colorButt->setStyleSheet(QString("background-color : ")+pOurFrameTeams->currentColor->name());
-  //colorButt->setPalette(newPalette);
+  //colorButt->setStyleSheet(QString("background-color : ")+pOurFrameTeams->currentColor->name());
+  colorButt->setStyle(QStyleFactory::create("plastique"));
+  colorButt->setPalette(newPalette);
 }