| 2298 | } |
| 2299 | |
| 2300 | void MainWindow::forEachDocker(const std::function<void(PlotDocker*)>& operation) { |
| 2301 | for (int index = 0; index < ui_->tabbedPlotWidget->dockerCount(); ++index) { |
| 2302 | if (PlotDocker* docker = ui_->tabbedPlotWidget->dockerAt(index)) { |
| 2303 | operation(docker); |
| 2304 | } |
| 2305 | } |
| 2306 | } |
| 2307 | |
| 2308 | void MainWindow::forEachDock(const std::function<void(DockWidget*)>& operation) { |
| 2309 | forEachDocker([&operation](PlotDocker* docker) { |
nothing calls this directly
no test coverage detected