statusline

Can I give the quick fix window a different status line in vim?

I'd like to give the Quick Fix window a different status line than all my other windows. I want it to have: set statusline=\ %n\ \ %f%=%L\ lines\ When I'm in the quick fix window, I can use :setlocal, but how in my .vimrc can I make it have a different status line? ...