[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    Re: [kopete-devel] Kopete::AwayAction() 2nd form problems.
From:       Olivier Goffart <ogoffart () tiscalinet ! be>
Date:       2004-12-22 12:44:35
Message-ID: 200412221344.40776.ogoffart () tiscalinet ! be
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Le Mercredi 22 Décembre 2004 13:38, Will Stephenson a écrit :
> I've fixed this by making the actions children of the account instead. 
> This is the same way manually generated account menus work.  We could also
> keep a reference to the actions and reuse them when the menu is shown
> again.

First, thanks for the fix.

anyway, i fear this is a memory leak. Since the away action has to be a lso 
deleted when the menu is hidden.

if we cal the slot  DeleteLater on them when we receive the destroyed signal 
from the parent, will that fix the problem ?

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic