# # # patch "src/model/Inventory.cpp" # from [77707a27c5223e3bbca06d355ab102690e7bdbb4] # to [306e575d9882570219c9011fafa57427bbde165b] # ============================================================ --- src/model/Inventory.cpp 77707a27c5223e3bbca06d355ab102690e7bdbb4 +++ src/model/Inventory.cpp 306e575d9882570219c9011fafa57427bbde165b @@ -332,9 +332,7 @@ void Inventory::insertRowsRecursive(Mode // ensure that all old rows get deleted at first (and ensure that each // item is only processed once...) // - QSet oldChildren = QSet::fromList(children); - oldChildren.unite(QSet::fromList(parentItem->getChildren())); - foreach (ModelItem * item, oldChildren) + foreach (ModelItem * item, children) { InventoryItem * invitem = qobject_cast(item); if (!invitem) continue;