| 141 | } |
| 142 | |
| 143 | void ModelManagerLocal::removeLibrary(const QString& libraryName) |
| 144 | { |
| 145 | for (auto& library : *_libraryList) { |
| 146 | if (library->isName(libraryName)) { |
| 147 | _libraryList->remove(library); |
| 148 | |
| 149 | // At this point we should rebuild the model map |
| 150 | return; |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | throw LibraryNotFound(); |
| 155 | } |
| 156 | |
| 157 | std::shared_ptr<std::vector<LibraryObject>> |
| 158 | ModelManagerLocal::libraryModels(const QString& libraryName) |
nothing calls this directly
no test coverage detected