From: APTX Date: Wed, 10 Apr 2013 15:11:03 +0000 (+0200) Subject: Fix filtering for large models X-Git-Url: https://gitweb.tyo.aptx.org/?a=commitdiff_plain;h=9a6723f684a816396272322afdfafc33cf42499f;p=localmylist.git Fix filtering for large models --- diff --git a/localmylist/mylistmodel.cpp b/localmylist/mylistmodel.cpp index ce7bf00..931954e 100644 --- a/localmylist/mylistmodel.cpp +++ b/localmylist/mylistmodel.cpp @@ -426,7 +426,11 @@ void MyListModel::fetchFinished(MyListNode *node, int newrows) // Lazy loading didn't work for children, even before the async change, not sure why // TODO figure out if it can be fixed // Enableing this for non-root makes it never fetch more. - if (node == rootItem) + // TODO this breaks filtering on large sets + // With this scrolling would activate loading more + // If a filter finds few in the loaded set it will not request more + // even if it should. + if (false && node == rootItem) { delayFetchTimer.start(0); delayedFetchNode = node;