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

List:       kmail-devel
Subject:    [Bug 112256] freeze while deleting imap account
From:       Carsten Burghardt <burghardt () kde ! org>
Date:       2005-10-25 11:46:52
Message-ID: 20051025114652.30453.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=112256         
burghardt kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From burghardt kde org  2005-10-25 13:46 -------
SVN commit 474058 by burghard:

Delete folders only local when the account was deleted.
BUGS: 112256


 M  +4 -1      kmkernel.cpp  


--- branches/KDE/3.5/kdepim/kmail/kmkernel.cpp #474057:474058
 @ -1471,7 +1471,10  @
     {
       node = the_imapFolderMgr->dir().next();
     } else {
-      the_imapFolderMgr->remove(static_cast<KMFolder*>(node));
+      KMFolder* folder = static_cast<KMFolder*>(node);
+      // delete only local
+      static_cast<KMFolderImap*>( folder->storage() )->setAlreadyRemoved( true );
+      the_imapFolderMgr->remove(folder);
       node = the_imapFolderMgr->dir().first();
     }
   }
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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