The 34-year-old joined the R's over the summer after being released by Aston Villa.
"I am enjoying myself," he told the Daily Mail. "Obviously, it has been a difficult time for the club but essentially it remains a good one.
"I'm not here to just pick up my wages. It's in my contract here that if my groin was to go, then my contract will be cancelled in six weeks.
"I'll just walk away. There's no way I'm going to sit in the gym for another year."
QPR are currently in second place in the Championship table following an unbeaten start to the season.