diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-11-15 11:09:31 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-11-15 11:09:31 +0100 |
commit | d4b10a3de396eebc6c815093e9e1725ece270e9e (patch) | |
tree | baa77406ae79bedee9b74b836789c3370b1fa934 /common/modelresult.h | |
parent | ec902175d53d371b03d8e754d917e196cd15aafa (diff) | |
download | sink-d4b10a3de396eebc6c815093e9e1725ece270e9e.tar.gz sink-d4b10a3de396eebc6c815093e9e1725ece270e9e.zip |
Working folder tree query
Diffstat (limited to 'common/modelresult.h')
-rw-r--r-- | common/modelresult.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/modelresult.h b/common/modelresult.h index eabb868..8ca6daa 100644 --- a/common/modelresult.h +++ b/common/modelresult.h | |||
@@ -116,7 +116,7 @@ public: | |||
116 | return; | 116 | return; |
117 | } | 117 | } |
118 | auto parent = createIndexFromId(id); | 118 | auto parent = createIndexFromId(id); |
119 | qDebug() << "Added entity " << childId; | 119 | qDebug() << "Added entity " << childId << value->identifier(); |
120 | const auto keys = mTree[id]; | 120 | const auto keys = mTree[id]; |
121 | int index = 0; | 121 | int index = 0; |
122 | for (; index < keys.size(); index++) { | 122 | for (; index < keys.size(); index++) { |
@@ -166,7 +166,6 @@ public: | |||
166 | 166 | ||
167 | void fetchEntities(const QModelIndex &parent) | 167 | void fetchEntities(const QModelIndex &parent) |
168 | { | 168 | { |
169 | qDebug() << "Fetching entities"; | ||
170 | const auto id = getIdentifier(parent); | 169 | const auto id = getIdentifier(parent); |
171 | mEntityChildrenFetched[id] = true; | 170 | mEntityChildrenFetched[id] = true; |
172 | QByteArray parentIdentifier; | 171 | QByteArray parentIdentifier; |
@@ -178,7 +177,7 @@ public: | |||
178 | Q_ASSERT(object); | 177 | Q_ASSERT(object); |
179 | parentIdentifier = object->identifier(); | 178 | parentIdentifier = object->identifier(); |
180 | } | 179 | } |
181 | Trace() << "Loading entities"; | 180 | Trace() << "Loading child entities of: " << parentIdentifier; |
182 | loadEntities(parentIdentifier); | 181 | loadEntities(parentIdentifier); |
183 | } | 182 | } |
184 | 183 | ||