QTfrontend/teamselect.cpp
changeset 244 b37ca2295b73
parent 240 c7f0a4f7a54a
child 311 b8905423f19f
--- a/QTfrontend/teamselect.cpp	Wed Nov 15 19:41:50 2006 +0000
+++ b/QTfrontend/teamselect.cpp	Wed Nov 15 21:53:50 2006 +0000
@@ -94,8 +94,11 @@
   setTitle(QGroupBox::tr("Playing teams"));
   framePlaying=new FrameTeams();
   frameDontPlaying=new FrameTeams();
-  addScrArea(framePlaying, QColor("DarkTurquoise"));
-  addScrArea(frameDontPlaying, QColor("LightGoldenrodYellow"));
+//  addScrArea(framePlaying, QColor("DarkTurquoise"));
+//  addScrArea(frameDontPlaying, QColor("LightGoldenrodYellow"));
+  QPalette p;
+  addScrArea(framePlaying, p.color(QPalette::Window).light(105));
+  addScrArea(frameDontPlaying, p.color(QPalette::Window).dark(105));
 }
 
 void TeamSelWidget::resetPlayingTeams(const QList<HWTeam>& teamslist)