Adds diagnostics as sub-nodes
| 21 | |
| 22 | /// Adds diagnostics as sub-nodes |
| 23 | void addDiagnostics(ProblemStoreNode *node, const QVector<IProblem::Ptr> &diagnostics) |
| 24 | { |
| 25 | for (const IProblem::Ptr& ptr : diagnostics) { |
| 26 | auto *child = new ProblemNode(node, ptr); |
| 27 | node->addChild(child); |
| 28 | |
| 29 | addDiagnostics(child, ptr->diagnostics()); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * @brief Base class for grouping strategy classes |
no test coverage detected