Fresh from Tuesday's comprehensive 3-1 defeat to Manchester City in the Capital One Cup, the Foxes headed to Loftus Road with just one point to show from a possible nine.
That poor run came to an end at Loftus Road, though, with Jamie Vardy's fine first-half strike securing a 1-0 win that brought QPR's unbeaten home record to a halt.
"We did well and it was needed," Leicester boss Pearson said. "Results haven't gone the way that we would have liked of late.
"It was always going to be important to get something out of the game today, so to get away from here with three points is a very good return.
"They are a good side. I felt we created good opportunities, but they will probably feel they should have got something out of the games, especially after the first-half situations they had. We are delighted.
"We've only scored one goal again, but they key to it is that we've actually kept a clean sheet and we've not kept enough of those this season.
"Away from home at QPR, for us to still be creating the chances that we did I think was positive for us.
"The added bonus for us today is that collectively we defended very well and we had to because they put you under a lot of pressure here.
"I thought it was a good game. We felt at times this season that we've not come out of those sort of games with probably what we deserve and it just nice to start this Christmas period with a very important win."
- Sports & Recreation
- Jamie Vardy