From be33e2c67ec56c7a54680dbce5af6f06281d80e6 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 3 Jan 2018 09:05:08 +0100 Subject: Removed broken tests --- common/modelresult.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'common') diff --git a/common/modelresult.cpp b/common/modelresult.cpp index e11ec9c..cc5f4ed 100644 --- a/common/modelresult.cpp +++ b/common/modelresult.cpp @@ -253,14 +253,6 @@ bool ModelResult::hasChildren(const QModelIndex &parent) const if (mQuery.parentProperty().isEmpty() && parent.isValid()) { return false; } - // //Figure out whether we have children - // const auto id = parent.internalId(); - // if (!mEntityChildrenFetched.contains(id)) { - // //Since we don't retrieve that information as part of the entity, - // //we have to query for the children to see if we have some - // auto p = const_cast*>(this); - // p->fetchMore(parent); - // } return QAbstractItemModel::hasChildren(parent); } -- cgit v1.2.3