On Tuesday 28 October 2008, Thiago Macieira forwarded a message from Michael 
saying:
> To fix this I made a patch for kopete some while ago (attached). It changes 
> the WalletManager instance from function static to a static class member. 
> Destruction is handled by connecting the aboutToQuit() signal to the 
> instance's deleteLater() slot.

No need for class-static, just make it file-static (which leaves the .h 
untouched).

Are you sure the deleteLater has time to proceed though? 
Ah, it works because QApp flushes pending deletions before exiting for good, 
IIRC?


> Now the main problem is that Kopete's connection to the wallet is never 
> terminated leaving the wallet open unless the user has configured a timer to 
> close it after a specified interval.

So, exactly the same problem happens if kopete crashes, right?

-- 
David Faure, [EMAIL PROTECTED], sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to