| 392 | } |
| 393 | |
| 394 | ProjectInfo ProjectTree::getProjectInfo(const QString &kitName, const QString &workspace) const |
| 395 | { |
| 396 | ProjectInfo projectInfo; |
| 397 | for (int row = 0; row < d->itemModel->rowCount(); row++) { |
| 398 | ProjectInfo info = ProjectInfo::get(d->itemModel->index(row, 0)); |
| 399 | if (kitName == info.kitName() && workspace == info.workspaceFolder()) { |
| 400 | projectInfo = info; |
| 401 | break; |
| 402 | } |
| 403 | } |
| 404 | return projectInfo; |
| 405 | } |
| 406 | |
| 407 | QStandardItem *ProjectTree::getActiveProjectItem() const |
| 408 | { |
no test coverage detected