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

List:       kde-pim
Subject:    [Kde-pim] Review Request: Make ETM fetch empty collections at least
From:       "Kevin Krammer" <kevin.krammer () gmx ! at>
Date:       2011-07-03 20:04:19
Message-ID: 20110703200419.28176.15234 () vidsolbach ! de
[Download RAW message or body]


-----------------------------------------------------------
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@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


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

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