Cleaning up Qt prototype.