| 274 | } |
| 275 | |
| 276 | static void updateAddonCheckBox(QCheckBox *cb, const ProjectFile *projectFile, const QString &dataDir, const QString &addon) |
| 277 | { |
| 278 | if (projectFile) |
| 279 | cb->setChecked(projectFile->getAddons().contains(addon)); |
| 280 | if (ProjectFile::getAddonFilePath(dataDir, addon).isEmpty()) { |
| 281 | cb->setEnabled(false); |
| 282 | cb->setText(cb->text() + QObject::tr(" (Not found)")); |
| 283 | } |
| 284 | } |
| 285 | |
| 286 | void ProjectFileDialog::checkAllVSConfigs() |
| 287 | { |
no test coverage detected