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

List:       kde-commits
Subject:    KDE/kdepimlibs/akonadi
From:       Stephen Kelly <steveire () gmail ! com>
Date:       2011-01-17 10:18:41
Message-ID: 20110117101841.5725DAC8B5 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1215020 by skelly:

When a top level collection is fetched, fetch its child items.

 M  +3 -0      entitytreemodel_p.cpp  


--- trunk/KDE/kdepimlibs/akonadi/entitytreemodel_p.cpp #1215019:1215020
@@ -1327,6 +1327,9 @@
 
       q->endInsertRows();
 
+      if ( m_itemPopulation == EntityTreeModel::ImmediatePopulation )
+        fetchItems(collection);
+
       CollectionFetchJob *job = new CollectionFetchJob( collection, \
CollectionFetchJob::FirstLevel, m_session );  \
job->fetchScope().setIncludeUnsubscribed( m_includeUnsubscribed );  \
job->fetchScope().setIncludeStatistics( m_includeStatistics );


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

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