| 283 | } |
| 284 | |
| 285 | void LaunchTask::substituteVariables(QStringList &args) const |
| 286 | { |
| 287 | auto env = m_instance->createEnvironment(); |
| 288 | |
| 289 | for (auto key : env.keys()) |
| 290 | { |
| 291 | args.replaceInStrings("$" + key, env.value(key)); |
| 292 | } |
| 293 | } |
| 294 | |
| 295 | void LaunchTask::substituteVariables(QString &cmd) const |
| 296 | { |
no test coverage detected