diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-03 17:58:47 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-03 17:58:47 +0100 |
commit | fb09018d49e182012422d721fb0fbf95130b82c5 (patch) | |
tree | 02900538df0f125874b1465a4c4fdb5300ba7d4a /common/modelresult.h | |
parent | 9fa528c5fceefd53303a604625d13cf0cdbb109e (diff) | |
download | sink-fb09018d49e182012422d721fb0fbf95130b82c5.tar.gz sink-fb09018d49e182012422d721fb0fbf95130b82c5.zip |
We need all parents available, not only one
Diffstat (limited to 'common/modelresult.h')
-rw-r--r-- | common/modelresult.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/modelresult.h b/common/modelresult.h index 55a95b9..321f9f1 100644 --- a/common/modelresult.h +++ b/common/modelresult.h | |||
@@ -75,6 +75,7 @@ private: | |||
75 | 75 | ||
76 | qint64 parentId(const Ptr &value); | 76 | qint64 parentId(const Ptr &value); |
77 | QModelIndex createIndexFromId(const qint64 &id) const; | 77 | QModelIndex createIndexFromId(const qint64 &id) const; |
78 | bool allParentsAvailable(qint64 id) const; | ||
78 | 79 | ||
79 | Sink::Log::Context mLogCtx; | 80 | Sink::Log::Context mLogCtx; |
80 | // TODO we should be able to directly use T as index, with an appropriate hash function, and thus have a QMap<T, T> and QList<T> | 81 | // TODO we should be able to directly use T as index, with an appropriate hash function, and thus have a QMap<T, T> and QList<T> |