Gui: [skip ci] whitespace improvements

This commit is contained in:
wmayer
2022-10-20 21:26:53 +02:00
parent 16c52bb18c
commit fba6a718eb
3 changed files with 8 additions and 7 deletions

View File

@@ -414,11 +414,12 @@ void PropertyModel::buildUp(const PropertyModel::PropertyList& props)
int last = groupInfo.groupItem->childCount();
int first = static_cast<int>(groupInfo.children.size());
if (last > first) {
QModelIndex midx = this->index(groupInfo.groupItem->_row,0,QModelIndex());
beginRemoveRows(midx, first, last-1);
groupInfo.groupItem->removeChildren(first, last-1);
QModelIndex midx = this->index(groupInfo.groupItem->_row, 0, QModelIndex());
beginRemoveRows(midx, first, last - 1);
groupInfo.groupItem->removeChildren(first, last - 1);
endRemoveRows();
} else {
}
else {
assert(last == first);
}
}