helper method for closeProject()
| 1008 | |
| 1009 | // helper method for closeProject() |
| 1010 | void ProjectController::closeAllOpenedFiles(IProject* proj) |
| 1011 | { |
| 1012 | const auto documents = Core::self()->documentController()->openDocuments(); |
| 1013 | for (IDocument* doc : documents) { |
| 1014 | if (proj->inProject(IndexedString(doc->url()))) { |
| 1015 | doc->close(); |
| 1016 | } |
| 1017 | } |
| 1018 | } |
| 1019 | |
| 1020 | // helper method for closeProject() |
| 1021 | void ProjectController::initializePluginCleanup(IProject* proj) |
nothing calls this directly
no test coverage detected