[Kde-pim] Review Request: Make ETM fetch empty collections at least once

Kevin Krammer kevin.krammer at gmx.at
Sun Jul 3 21:04:19 BST 2011


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

Review request for KDEPIM-Libraries and Stephen Kelly.


Summary
-------

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 seems to be done for optimization purposes.

This patch make ETM only skip collections which are known to be empty.


This addresses bug 271913.
    http://bugs.kde.org/show_bug.cgi?id=271913


Diffs
-----

  akonadi/entitytreemodel_p.h 6f7f499 
  akonadi/entitytreemodel_p.cpp d3ab393 

Diff: http://git.reviewboard.kde.org/r/101844/diff


Testing
-------

None, yet. Actually not even build (a recent compiler upgrade seems to have broken my qt-copy and now kdepimlibs won't build anymore).
Just as a general idea for discussion


Thanks,

Kevin

_______________________________________________
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