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

Hedgewars: Fix cancelling video uploads

completed by: O. Michael Hartman

mentors: Andrey Korotaev, Xeli, 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

A past GSoC student introduced the possibility of recording a match to a video file and to upload it to YouTube servers directly. However if you cancel this operation while in progress, it will fail and crash the frontend at exit.

Your task is to study how QTfrontend/ui/page/pagevideos.cpp works and to provide a fix for the crash.

Please see the discussion on our bug tracker, following this link (point #11).

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.