Revision 09d52e4...

Go back to digest for 10th July 2011

Bug Fixes in KDE-PIM

Stephen Kelly committed changes in [kdepimlibs] /:

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

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.

REVIEW: 101844

File Changes

Modified 2 files
  •   akonadi/entitytreemodel_p.cpp
  •   akonadi/entitytreemodel_p.h
2 files changed in total