| 21 | } |
| 22 | |
| 23 | void ContainerView::removeChildView(const std::shared_ptr<View> &childView) |
| 24 | { |
| 25 | if (auto containerCore = core<ContainerView::Core>()) { |
| 26 | containerCore->removeChildView(childView); |
| 27 | View::setParentViewOfView(childView, nullptr); |
| 28 | } else { |
| 29 | throw std::runtime_error("???"); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | void ContainerView::removeAllChildViews() |
| 34 | { |
nothing calls this directly
no outgoing calls
no test coverage detected