qtcreator: tidy up a patch