QTfrontend/frameTeam.cpp
changeset 5201 7b9aa7aac336
parent 4976 088d40d8aba2
child 6015 daffc14a518a
--- a/QTfrontend/frameTeam.cpp	Tue May 03 23:16:47 2011 +0200
+++ b/QTfrontend/frameTeam.cpp	Wed May 04 01:19:39 2011 +0200
@@ -37,8 +37,8 @@
     mainLayout.setContentsMargins(4, 4, 4, 4);
 
     int i = 0;
-    while(colors[i])
-        availableColors.push_back(*colors[i++]);
+    while(colors[i] != 0)
+        availableColors.push_back(QColor(colors[i++]));
 
     resetColors();
 }