Ive got both. The 5d 2 has better IQ not significantly, is better for wide stuf and when you have time to take time over what you are doing.
The 7d has better auto focus has good IQ, better long (cropped sensor) has inbuilt flash good for fill some times.
Both cameras are better than me I don't think you could go wrong with either, that said when you get it all rite the images from a 5d are just so good.