diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/modelresult.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
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<T, Ptr>::hasChildren(const QModelIndex &parent) const | |||
253 | if (mQuery.parentProperty().isEmpty() && parent.isValid()) { | 253 | if (mQuery.parentProperty().isEmpty() && parent.isValid()) { |
254 | return false; | 254 | return false; |
255 | } | 255 | } |
256 | // //Figure out whether we have children | ||
257 | // const auto id = parent.internalId(); | ||
258 | // if (!mEntityChildrenFetched.contains(id)) { | ||
259 | // //Since we don't retrieve that information as part of the entity, | ||
260 | // //we have to query for the children to see if we have some | ||
261 | // auto p = const_cast<ModelResult<T, Ptr>*>(this); | ||
262 | // p->fetchMore(parent); | ||
263 | // } | ||
264 | return QAbstractItemModel::hasChildren(parent); | 256 | return QAbstractItemModel::hasChildren(parent); |
265 | } | 257 | } |
266 | 258 | ||