| 242 | } |
| 243 | |
| 244 | void StandardOutputView::removeOutput( int outputId ) |
| 245 | { |
| 246 | for (ToolViewData* td : std::as_const(m_toolViews)) { |
| 247 | const auto outputIt = td->outputdata.find(outputId); |
| 248 | if (outputIt != td->outputdata.end()) { |
| 249 | for (const auto* const view : std::as_const(td->views)) { |
| 250 | if (auto* const widget = view->widget()) { |
| 251 | qobject_cast<OutputWidget*>(widget)->removeOutput(outputId); |
| 252 | } |
| 253 | } |
| 254 | td->outputdata.erase(outputIt); |
| 255 | } |
| 256 | } |
| 257 | } |
| 258 | |
| 259 | void StandardOutputView::setTitle(int outputId, const QString& title) |
| 260 | { |
no test coverage detected