| 368 | } |
| 369 | |
| 370 | std::string GetSettingOverride(const SettingMeta& meta) { |
| 371 | std::string result; |
| 372 | |
| 373 | // If the setting environment variable is set, then the setting is overridden and can't be modified |
| 374 | if (!meta.env.empty()) { |
| 375 | result = qgetenv(meta.env.c_str()).toStdString(); |
| 376 | } |
| 377 | |
| 378 | return result; |
| 379 | } |
| 380 | |
| 381 | SettingDependenceMode CheckDependence(const SettingMeta& meta, const SettingDataSet& data_set) { |
| 382 | switch (meta.dependence_mode) { |