Hedgewars: Unix Qt signals
completed by: Martin Bede
mentors: Andrey Korotaev, Xeli, Sheepy, koda
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
Make the frontend respond to SIGINT
and SIGTERM
, so that you can (cleanly) close it with CTRL+c
.
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.