From 9a6723f684a816396272322afdfafc33cf42499f Mon Sep 17 00:00:00 2001 From: APTX Date: Wed, 10 Apr 2013 17:11:03 +0200 Subject: [PATCH] Fix filtering for large models --- localmylist/mylistmodel.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- 2.52.0