Hedgewars: User/pass single prompt Copyleft Games Group
Status: Closed Time to complete: 24 hrs Mentors: koda, Andrey Korotaev, Xeli, Sheepy Tags: qt, c++, hedgewars


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.


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.

Uploaded Work
File name/URL File size Date submitted
unified_login.patch 8.5 KB December 01 2012 22:33 UTC
Ondrej on December 1 2012 11:25 UTC Task Claimed

I would like to work on this task.

koda on December 1 2012 11:48 UTC Task Assigned

This task has been assigned to Ondrej. You have 24 hours to complete this task, good luck!

Ondrej on December 1 2012 16:02 UTC Trouble compiling Hedgewars

I'm having trouble compiling Hedgewars on Fedora 17, therefore I can't do much about this task so far.. I'm in the IRC channel, but no one replies to my questions, and I haven't been able to find any working solution on google for the the last 3 hours.

Ondrej on December 1 2012 22:34 UTC Ready for review

The work on this task is ready to be reviewed.

koda on December 1 2012 23:29 UTC Task Closed

Congratulations, this task has been completed successfully.

koda on December 1 2012 23:39 UTC commit

Thanks for your contribution, I've added your patch to our codebase http://code.google.com/p/hedgewars/source/detail?r=70e980278080ad60e795a79faffdefd4a6356ff5

While reviewing your work I found out that user/password management has a few rough edges: would you like to keep on tinkering in this section?

Let's discuss on IRC :)