Qt: better SIGINT handling