GSoC/GCI Archive
Google Code-in 2012 Copyleft Games Group

Hedgewars: Empty list help text

completed by: Bryan Dunsmore

mentors: Andrey Korotaev, Xeli, koda

Remember to join our IRC channel when working on this task! We are on #hedgewars at If you are new to IRC, read this tutorial from a past GCI participant.

Your task

When creating a game, initially the "start" button is grayed out and sometimes this can be confusing to beginners. There should be a label saying something like"add at least 2 teams to play" that goes away after teams are added.

Check out QTfrontend/ui/page/pagemultiplayer.cpp, QTfrontend/ui/widget/teamselect.cpp and QTfrontend/ui/widget/frameTeam.cpp.

Please see the discussion on our bug tracker, following this link.


A working patch, that applies cleanly to our source tree. This patch should be in the form of a pull from clone, hg export or unified diff format (in order of preference) implementing the functionality required.