In Qt parent objects are deleteing their children. So if your QMenu object was a child of the QMenuBar, then deleting QMenuBar also deletes QMenu - so then you tried to delete QMenu again so the app crashed.
In Qt parent objects are deleteing their children. So if your QMenu object was a child of the QMenuBar, then deleting QMenuBar also deletes QMenu - so then you tried to delete QMenu again so the app crashed.
I would like to be a "Guru"
Useful hints (try them before asking):
- Use Qt Assistant
- Search the forum
If you haven't found solution yet then create new topic with smart question.
Bookmarks