StatusBar in KMainWindow

Maks Orlovich mo002j at mail.rochester.edu
Thu Mar 13 17:50:50 GMT 2003


> > Can I simply call delete on the KAction?  Will everything be ok?
>
> Nope, that would make the xmlgui engine end up with a dangling
> pointer and leave the action plugged in the GUI.

Is that despite the code in ~KAction that removes it from the 
m_parentCollection? 

I am thinking back to the bookmark menu/bar issue, where I think the actions 
were getting deleted directly, too (not sure at this moment, though)..






More information about the kde-core-devel mailing list