| 123 | } |
| 124 | |
| 125 | void ProblemReporterModel::problemsUpdated(const KDevelop::IndexedString& url) |
| 126 | { |
| 127 | Q_ASSERT(thread() == QThread::currentThread()); |
| 128 | |
| 129 | // skip update for urls outside current scope |
| 130 | if (!store()->documents()->get().contains(url) && |
| 131 | !(showImports() && store()->documents()->imports().contains(url))) |
| 132 | return; |
| 133 | |
| 134 | /// m_minTimer will expire in MinTimeout unless some other parsing job finishes in this period. |
| 135 | m_minTimer->start(); |
| 136 | /// m_maxTimer will expire unconditionally in MaxTimeout |
| 137 | if (!m_maxTimer->isActive()) { |
| 138 | m_maxTimer->start(); |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | void ProblemReporterModel::rebuildProblemList() |
| 143 | { |