What does it mean when a guy pats a girl on the head?

You did a good job and he thinks your cute. Cute in a good way. Not a little child type of cute.