| 249 | } |
| 250 | |
| 251 | void FilteredProblemStore::rebuild() |
| 252 | { |
| 253 | Q_D(FilteredProblemStore); |
| 254 | |
| 255 | emit beginRebuild(); |
| 256 | |
| 257 | d->m_strategy->clear(); |
| 258 | |
| 259 | const auto childrenNodes = rootNode()->children(); |
| 260 | for (ProblemStoreNode* node : childrenNodes) { |
| 261 | IProblem::Ptr problem = node->problem(); |
| 262 | if (d->match(problem)) { |
| 263 | d->m_strategy->addProblem(problem); |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | emit endRebuild(); |
| 268 | } |
| 269 | |
| 270 | void FilteredProblemStore::setGrouping(int grouping) |
| 271 | { |
nothing calls this directly
no test coverage detected