| 140 | } |
| 141 | |
| 142 | void ProblemReporterModel::rebuildProblemList() |
| 143 | { |
| 144 | /// No locking here, because it may be called from an already locked context |
| 145 | beginResetModel(); |
| 146 | |
| 147 | QVector<IProblem::Ptr> allProblems = problems(store()->documents()->get()); |
| 148 | |
| 149 | if (showImports()) |
| 150 | allProblems += problems(store()->documents()->imports()); |
| 151 | |
| 152 | store()->setProblems(allProblems); |
| 153 | |
| 154 | endResetModel(); |
| 155 | } |
| 156 | |
| 157 | #include "moc_problemreportermodel.cpp" |
nothing calls this directly
no test coverage detected