| 410 | } |
| 411 | |
| 412 | void AspectTreeModel::aspectHiddenAboutToChange(const AbstractAspect* aspect) { |
| 413 | for (auto* a = aspect->parentAspect(); a; a = a->parentAspect()) |
| 414 | if (a->isHidden()) |
| 415 | return; |
| 416 | if (aspect->isHidden()) |
| 417 | aspectAboutToBeAdded(aspect->parentAspect(), aspect, aspect); |
| 418 | else |
| 419 | aspectAboutToBeRemoved(aspect); |
| 420 | } |
| 421 | |
| 422 | void AspectTreeModel::aspectHiddenChanged(const AbstractAspect* aspect) { |
| 423 | for (auto* a = aspect->parentAspect(); a; a = a->parentAspect()) |
nothing calls this directly
no test coverage detected