I deleted a widget (progress bar) now I get a compiler error - seems the old widgets are still attempting to be initialized.
So total rookie here. I thought that if I delete a widget and generate code any code related to the deleted widget would also be removed. But in the .cpp file of the screen where the widget used to be, I'm seeing methods called on the object that doesn't exist!
Here's the errors I'm seeing

Here's some of the code that shouldn't be there

Do I have to delete the unneeded code manually?