| 41 | } |
| 42 | |
| 43 | void ProjectInfoPage::populateProjectFileCombo(const QVector<ProjectFileChoice>& choices) |
| 44 | { |
| 45 | page_ui->managerCombo->clear(); |
| 46 | for (const auto& item : choices) { |
| 47 | const int index = page_ui->managerCombo->count(); |
| 48 | page_ui->managerCombo->addItem(QIcon::fromTheme(item.iconName), item.text, item.pluginId); |
| 49 | page_ui->managerCombo->setItemData( index, item.fileName, FileNameRole ); |
| 50 | } |
| 51 | changeProjectManager(0); |
| 52 | } |
| 53 | |
| 54 | } |
| 55 |
no test coverage detected