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

List:       kde-commits
Subject:    KDE/kdepim/akonadi/akonadiconsole
From:       Stephen Kelly <steveire () gmail ! com>
Date:       2009-07-28 14:45:04
Message-ID: 1248792304.523882.15207.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1003658 by skelly:

Populate the AkonadiBrowserModel lazily. Unfortunately, not as lazily as I'd like, but it's a good start.

 M  +1 -0      browserwidget.cpp  


--- trunk/KDE/kdepim/akonadi/akonadiconsole/browserwidget.cpp #1003657:1003658
@@ -119,6 +119,7 @@
   monitor->itemFetchScope().fetchFullPayload(true);
 
   mBrowserModel = new AkonadiBrowserModel( session, monitor, this );
+  mBrowserModel->setItemPopulationStrategy( EntityTreeModel::LazyPopulation );
 
   EntityFilterProxyModel *collectionFilter = new EntityFilterProxyModel( this );
   collectionFilter->setSourceModel( mBrowserModel );
[prev in list] [next in list] [prev in thread] [next in thread] 

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