Steve McClaren praised QPR's resilience as they held on despite Millwall pressure to win their Championship match.