QTfrontend/ui/widget/teamselect.cpp
changeset 8140 a098374b847b
parent 8129 98e4a60da2ca
child 8424 225ede46e3dc
--- a/QTfrontend/ui/widget/teamselect.cpp	Thu Nov 29 14:02:28 2012 +1300
+++ b/QTfrontend/ui/widget/teamselect.cpp	Thu Nov 29 22:50:08 2012 +0400
@@ -269,7 +269,7 @@
 
     // Add notice about number of required teams.
     numTeamNotice = new QLabel("Two teams are required to play!");
-    mainLayout.addWidget((QWidget*)numTeamNotice);
+    mainLayout.addWidget(numTeamNotice);
 
     QPalette p;
     p.setColor(QPalette::Window, QColor(0x00, 0x00, 0x00));