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

Hedgewars: User/pass single prompt

completed by: Ondrej

mentors: koda, Andrey Korotaev, Xeli, Sheepy

[IMAGE http://gci.copyleftgames.org/img/icons/hedgewars.png]
[IMAGE http://gci.copyleftgames.org/img/icons/c++.png]
[IMAGE http://gci.copyleftgames.org/img/icons/qt.png]

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

Your task

Combine Username and Password field in a single prompt: right now user has to insert username first and password later. Expand QTfrontend/ui/dialog/input_password.cpp to ask for a username nicely and remove redundant code from QTfrontend/ui/page/pagemain.cpp.

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

Deliverable

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.