| 261 | } |
| 262 | |
| 263 | QStandardItem* 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 | |
| 272 | bool CommitToolView::isActiveProject(const QModelIndex& idx) const |
| 273 | { |
nothing calls this directly
no test coverage detected