| 200 | } // namespace |
| 201 | |
| 202 | std::optional<ProviderInstance> ProviderInstanceLoader::parseFile( |
| 203 | const QString &path, QString *error) |
| 204 | { |
| 205 | auto objOpt = parseTomlFile(path, error); |
| 206 | if (!objOpt) |
| 207 | return std::nullopt; |
| 208 | ProviderInstance inst = instanceFromMerged(*objOpt); |
| 209 | inst.sourcePath = path; |
| 210 | return inst; |
| 211 | } |
| 212 | |
| 213 | ProviderInstanceLoader::LoadResult ProviderInstanceLoader::load( |
| 214 | const QString &qrcPrefix, const QString &userDir) |
nothing calls this directly
no test coverage detected