| 134 | } |
| 135 | |
| 136 | void VcsOverlayProxyModel::removeProject(IProject* p) |
| 137 | { |
| 138 | m_branchName.remove(p); |
| 139 | |
| 140 | if (auto* const plugin = p->versionControlPlugin()) { |
| 141 | if (auto* const branchingExtension = plugin->extension<KDevelop::IBranchingVersionControl>()) { |
| 142 | const auto url = p->path().toUrl(); |
| 143 | branchingExtension->unregisterRepositoryForCurrentBranchChanges(url, this); |
| 144 | } |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | QModelIndex VcsOverlayProxyModel::indexFromProject(QObject* project) |
| 149 | { |
nothing calls this directly
no test coverage detected