tux3/qTox — pull request #346 by dubslow (2014-09-29 20:29:10+00:00)
Title: Mostly fix #340

You might be able to come up with something better, but this is at least an improvement and simplification.