Here is one sentence: While being impulsive can be great for artists, it is not a desirable quality for engineers.
Here is another sentence: One of the qualities of pure iron is that it does not rust easily.
Does the term quality mean the same thing in both these sentences?
the same meaning