diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-11-25 09:22:03 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-11-25 09:22:03 +0100 |
commit | 00e6b843e9f2881faccb312594a0e91c42df0096 (patch) | |
tree | f065c8022b4a19e9c4b9e579e5f5c7da1fe5e64d /common/modelresult.cpp | |
parent | e4a4d72fd206fc2d5c1095b39b2839e53cd114bb (diff) | |
download | sink-00e6b843e9f2881faccb312594a0e91c42df0096.tar.gz sink-00e6b843e9f2881faccb312594a0e91c42df0096.zip |
Less noise
Diffstat (limited to 'common/modelresult.cpp')
-rw-r--r-- | common/modelresult.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/modelresult.cpp b/common/modelresult.cpp index 5b9e24f..4102cda 100644 --- a/common/modelresult.cpp +++ b/common/modelresult.cpp | |||
@@ -124,7 +124,7 @@ void ModelResult<T, Ptr>::add(const Ptr &value) | |||
124 | return; | 124 | return; |
125 | } | 125 | } |
126 | auto parent = createIndexFromId(id); | 126 | auto parent = createIndexFromId(id); |
127 | qDebug() << "Added entity " << childId << value->identifier() << id; | 127 | // qDebug() << "Added entity " << childId << value->identifier() << id; |
128 | const auto keys = mTree[id]; | 128 | const auto keys = mTree[id]; |
129 | int index = 0; | 129 | int index = 0; |
130 | for (; index < keys.size(); index++) { | 130 | for (; index < keys.size(); index++) { |
@@ -136,13 +136,13 @@ void ModelResult<T, Ptr>::add(const Ptr &value) | |||
136 | Warning() << "Entity already in model " << value->identifier(); | 136 | Warning() << "Entity already in model " << value->identifier(); |
137 | return; | 137 | return; |
138 | } | 138 | } |
139 | qDebug() << "Inserting rows " << index << parent; | 139 | // qDebug() << "Inserting rows " << index << parent; |
140 | beginInsertRows(QModelIndex(), index, index); | 140 | beginInsertRows(QModelIndex(), index, index); |
141 | mEntities.insert(childId, value); | 141 | mEntities.insert(childId, value); |
142 | mTree[id].insert(index, childId); | 142 | mTree[id].insert(index, childId); |
143 | mParents.insert(childId, id); | 143 | mParents.insert(childId, id); |
144 | endInsertRows(); | 144 | endInsertRows(); |
145 | qDebug() << "Inserted rows " << mTree[id].size(); | 145 | // qDebug() << "Inserted rows " << mTree[id].size(); |
146 | } | 146 | } |
147 | 147 | ||
148 | 148 | ||