| 251 | } |
| 252 | |
| 253 | KDevelop::IProject* CommitToolView::activeProject() const |
| 254 | { |
| 255 | auto* proj_item = activeProjectItem(); |
| 256 | if (proj_item && isActiveProject(proj_item->index())) { |
| 257 | return ICore::self()->projectController()->findProjectByName( |
| 258 | proj_item->data(RepoStatusModel::NameRole).toString()); |
| 259 | } |
| 260 | return nullptr; |
| 261 | } |
| 262 | |
| 263 | QStandardItem* CommitToolView::activeProjectItem() const |
| 264 | { |
nothing calls this directly
no test coverage detected