[Bug 271913] KMail 2 succeeds in migrating data, but old folders are initially empty

Stephen Kelly steveire at gmail.com
Mon Jul 4 15:52:44 BST 2011


https://bugs.kde.org/show_bug.cgi?id=271913


Stephen Kelly <steveire at gmail.com> changed:

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




--- Comment #6 from Stephen Kelly <steveire gmail com>  2011-07-04 14:52:44 ---
Git commit 09d52e45006d36f82e5dda7bc7dc2f7e0e7a4f3c by Stephen Kelly, on behalf
of Kevin Krammer.
Committed on 04/07/2011 at 16:42.
Pushed by skelly into branch 'master'.

Make ETM fetch empty collections at least once

When collections are empty because they have just been created
(synchronizeCollectionTree or equivalent operation), an application
using EntityTreeModel will not fetch their contents, assuming they
are truly empty (contain no items). This is done for optimization
purposes.

This patch make ETM only skip collections which are known to be
empty. We can't just check the statistics for the optimization
because the statistics will report zero until something is requested
if the resource simply has not been sync'd yet.

BUG: 271913
REVIEW: 101844

M  +13   -1    akonadi/entitytreemodel_p.cpp     
M  +1    -0    akonadi/entitytreemodel_p.h     

http://commits.kde.org/kdepimlibs/09d52e45006d36f82e5dda7bc7dc2f7e0e7a4f3c

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list