Promotion-chasing QPR suffered a surprise 2-1 defeat at Doncaster in the Sky Bet Championship after Paul Quinn's late winner.