| 228 | } |
| 229 | |
| 230 | void Folder::decreaseChildIndiciesIfBiggerThan(int index) |
| 231 | { |
| 232 | for(auto& child : m_children) |
| 233 | { |
| 234 | if(child->getIndexInParent() > index) |
| 235 | child->setIndexInParent(child->getIndexInParent() - 1); |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | void Folder::increaseChildIndiciesIfBiggerThan(int index) |
| 240 | { |
no test coverage detected