| 320 | } |
| 321 | |
| 322 | void ProjectSet::fileAdded(ProjectFileItem* file) |
| 323 | { |
| 324 | Q_D(WatchedDocumentSet); |
| 325 | |
| 326 | if (m_pauseAddingFiles) { |
| 327 | return; |
| 328 | } |
| 329 | |
| 330 | const auto path = IndexedString(file->indexedPath()); |
| 331 | if (include(path)) { |
| 332 | d->addDocument(path, DoUpdate | DoEmit); |
| 333 | } |
| 334 | } |
| 335 | |
| 336 | void ProjectSet::fileRemoved(ProjectFileItem* file) |
| 337 | { |
nothing calls this directly
no test coverage detected