diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-11-28 16:07:15 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-11-28 16:07:15 +0100 |
commit | 4926e7f613ea3e03a2865eec66c6a8c1ec0b6516 (patch) | |
tree | da2c7bc3f0243bf065f21b6c272f17b1ea899bce /common/modelresult.cpp | |
parent | 088d8a40c195ce6dcb91556a17f69d26e5586a3e (diff) | |
download | sink-4926e7f613ea3e03a2865eec66c6a8c1ec0b6516.tar.gz sink-4926e7f613ea3e03a2865eec66c6a8c1ec0b6516.zip |
Cleanup
Diffstat (limited to 'common/modelresult.cpp')
-rw-r--r-- | common/modelresult.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/modelresult.cpp b/common/modelresult.cpp index 65eaba9..930048f 100644 --- a/common/modelresult.cpp +++ b/common/modelresult.cpp | |||
@@ -141,7 +141,7 @@ void ModelResult<T, Ptr>::add(const Ptr &value) | |||
141 | return; | 141 | return; |
142 | } | 142 | } |
143 | // qDebug() << "Inserting rows " << index << parent; | 143 | // qDebug() << "Inserting rows " << index << parent; |
144 | beginInsertRows(QModelIndex(), index, index); | 144 | beginInsertRows(parent, index, index); |
145 | mEntities.insert(childId, value); | 145 | mEntities.insert(childId, value); |
146 | mTree[id].insert(index, childId); | 146 | mTree[id].insert(index, childId); |
147 | mParents.insert(childId, id); | 147 | mParents.insert(childId, id); |