| 387 | } |
| 388 | |
| 389 | void ProblemModel::setScope(ProblemScope scope) |
| 390 | { |
| 391 | Q_D(ProblemModel); |
| 392 | |
| 393 | Q_ASSERT(thread() == QThread::currentThread()); |
| 394 | |
| 395 | if (!features().testFlag(ScopeFilter)) |
| 396 | scope = ProblemScope::BypassScopeFilter; |
| 397 | |
| 398 | /// Will trigger signals beginRebuild(), endRebuild() if problems change and are rebuilt |
| 399 | d->m_problems->setScope(scope); |
| 400 | } |
| 401 | |
| 402 | void ProblemModel::setPathForDocumentsInPathScope(const QString& path) |
| 403 | { |