[PyQt] memory leak using QMainWindow.removeToolBar

danny shevitz at lanl.gov
Mon Aug 16 23:59:22 BST 2010


thanks,

your solution works, and stops my code from seg faulting. I'm curious
why mine doesn't work. In the documentation for QMainWindow

http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qmainwindow.html#addToolBar-3

The third overloading of the addToolBar method, was what I was using.

It should be equivalent, but I must be missing something.

thanks,
D



More information about the PyQt mailing list