MCPcopy Create free account
hub / github.com/KDE/kdevelop / rebuildProblemList

Method rebuildProblemList

plugins/problemreporter/problemreportermodel.cpp:142–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void 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"

Callers

nothing calls this directly

Calls 4

getMethod · 0.45
documentsMethod · 0.45
importsMethod · 0.45
setProblemsMethod · 0.45

Tested by

no test coverage detected