Correct QThread usage

See http://blog.qt.digia.com/blog/2010/06/17/youre-doing-it-wrong/