The study was conducted in the Netherlands and it followed 3,680 children starting at age 6 and then ending when they reached the age of 10.
Put plainly, though more ADHD symptoms at age 6 were associated with less healthy diets at age 8, diet quality at age 8 was not associated with ADHD symptoms at age 10.
There are a number of proposed pathways to help explain how ADHD might affect diet quality. ADHD and its impulsivity may increase the risk of binge eating or loss of control eating, and the impact of ADHD on neurotransmitters may affect hunger and fullness. It's also possible that some parents of children with ADHD may offer foods their children prefer in order to decrease risk of conflict and/or reward desired behaviour.
Clearly more research on this would be welcome.