just a question of只不过是…的问题(指不难预料、解释、做等的事情)
There's no doubt about it. He's leaving. It's just a question of when.