Smugness is underrated as a personality flaw. It is not necessarily arrogant, confident, self centred, or self assured - smugitude as a general trait is a nice, human combination of the good and bad.

Smug as a response, however (ie, gloating), is not so nice and should be discouraged.