[Qt] fix style, formating, comment and indentation problems

- introduced by #3920