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

Method activeProjectItem

plugins/git/committoolview.cpp:263–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263QStandardItem* CommitToolView::activeProjectItem() const
264{
265 for (auto* pr : m_statusmodel->projectRoots()) {
266 if (isActiveProject(pr->index()))
267 return pr;
268 }
269 return nullptr;
270}
271
272bool CommitToolView::isActiveProject(const QModelIndex& idx) const
273{

Callers

nothing calls this directly

Calls 2

projectRootsMethod · 0.80
indexMethod · 0.45

Tested by

no test coverage detected