I ran your code and it worked fine on my computer. However, I think that the attached is a minimalist piece of code which does reflect the problem.
To get it I need to use signals and slots. If there is anything wrong with the code (apart from I've not resized anything to fit nicely!) please let me know but it does illustrate the situation on my machine.
Bookmarks