[PyKDE] qactions not destroyed after qmenu menu closes
Matt Chambers
chambers at imageworks.com
Tue Nov 14 21:42:29 GMT 2006
I'm dynamically creating a context menu for a QTableView, populated with
some QActions. Everytime
I right click, the menu is created. Over time, hundreds of these closed
menus will set in memory, along
with all the qactions, assoctated icons and text, ect. When I close the
app, I see all of them destroyed.
Is there a way to have a qmenu clean up after itself after it closes?
Matt
More information about the PyQt
mailing list