[Kde-pim] Review Request: Update Identities after renaming sending accounts

Ingo Klöcker kloecker at kde.org
Tue May 26 20:32:40 BST 2009



> On 2009-05-26 12:31:50, Ingo Klöcker wrote:
> > I suggest to add a local recursion guard to TransportManager::slotTransportsChanged():
> > 
> > void TransportManager::slotTransportsChanged()
> > {
> >   static bool alreadyHere = false;
> >   if ( alreadyHere ) {
> >     // we have been called recursively -> do nothing
> >     return;
> >   }
> >   kDebug();
> >   d->config->reparseConfiguration();
> >   // FIXME: this deletes existing transport objects!
> >   readConfig();
> >   alreadyHere = true;
> >   emit transportsChanged();
> >   alreadyHere = false;
> > }

Do this change additionally to your changes.


- Ingo


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/765/#review1209
-----------------------------------------------------------


On 2009-05-26 08:47:41, Frank Thieme wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/765/
> -----------------------------------------------------------
> 
> (Updated 2009-05-26 08:47:41)
> 
> 
> Review request for KDE PIM.
> 
> 
> Summary
> -------
> 
> Solves the bug 185069. As myOwnChanged is just used on this place, it shouldn't have any side effects.
> 
> 
> Diffs
> -----
> 
>   trunk/KDE/kdepimlibs/mailtransport/transportmanager.cpp 973225 
> 
> Diff: http://reviewboard.kde.org/r/765/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Frank
> 
>

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list