Qt: fetch only last required thumbnail