I have a book Grandma Putt's Old Time Vinegar, Garlic, Baking Soda, and 101 more Problem Solvers and it says:
To get pet hair off of upholstered furniture, spray a sponge with HAIR SPRAY (pump or aerosol), and while it's still tacky, run it across the fabric.
I would think that would work just as well on a quilt.