MCPcopy Create free account
hub / github.com/KDE/kdevelop / removeProject

Method removeProject

plugins/projectmanagerview/vcsoverlayproxymodel.cpp:136–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136void 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
148QModelIndex VcsOverlayProxyModel::indexFromProject(QObject* project)
149{

Callers

nothing calls this directly

Calls 5

versionControlPluginMethod · 0.80
removeMethod · 0.45
toUrlMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected