Republic of Ireland international Daryl Horgan was on the losing side at Loftus Road as Ilias Chair's first-half goal was enough to earn QPR a 1-0 victory over Wycombe.
It was an unhappy return to Loftus Road for Gareth Ainsworth, where the Wycombe boss was a fans' favourite during seven years as a player and also two spells as caretaker manager.
Ainsworth's side remain bottom of the Sky Bet Championship, having suffered four consecutive defeats and scored just one goal in their last six matches.
QPR, on the other hand, have been enjoying a fine second half to the season and are still in with an outside chance of a play-off place.
This win was their sixth in nine matches and lifted them into the top half of the table, while the clean sheet was their third in five games.
Chris Willock was the architect of their 23rd-minute winner, superbly evading two challenges on the right and then shooting past goalkeeper David Stockdale at the near post for Chair to add the finishing touch from virtually on the goal-line.
Andre Ayew scored his fourth penalty in as many games, but Swansea missed a chance to move into the Sky Bet Championship automatic promotion places as they were held to a 1-1 draw at Blackburn.
Ayew's previous two spot-kicks were last-minute winners against Stoke and Middlesbrough, but here his 41st-minute strike was needed to bring the Swans level following Bradley Dack's opener on a night when they were second best for long spells.
Darragh Lenihan started in the Rovers defence, while Conor Hourihane was again in the Swansea engine room, with Ryan Manning an unused substitute.
The point was enough to move Swansea level with second-placed Watford, still with a game in hand on the Hornets, and they could be grateful to get that much on a night when Blackburn created a string of chances to wrap up victory.
In contrast, Ayew's penalty was Swansea's only shot on target.