[Knode-devel] Fixing bug 67626

Richard Lärkäng nouseforaname at home.se
Sun Nov 23 13:30:43 CET 2003


Hi!

This patch should fix bug #67626. The problem is that when KNode is run in 
Kontact it won't do any cleanup. When running it standalone and closing it 
KMainWidget::queryClose() will be executed and there it will call 
prepareShutdown(), but it won't when run in Kontact so moving 
prepareShutdown() to public and calling it from KNodePart's destructor makes 
the cleanup work when run in Kontact too.

I'm not entirely sure it isn't too late to call prepareShutdown in the 
desctructor, but it works for me.

Can I commit?

Richard Lärkäng


-------------- next part --------------
A non-text attachment was scrubbed...
Name: knode.patch
Type: text/x-diff
Size: 1081 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/knode-devel/attachments/20031123/31ca5fee/knode.bin


More information about the Knode-devel mailing list