| 97 | } |
| 98 | |
| 99 | QStringList stringArray(const QJsonValue &v) |
| 100 | { |
| 101 | QStringList out; |
| 102 | if (!v.isArray()) |
| 103 | return out; |
| 104 | for (const auto &elem : v.toArray()) { |
| 105 | if (elem.isString()) |
| 106 | out.append(elem.toString()); |
| 107 | } |
| 108 | return out; |
| 109 | } |
| 110 | |
| 111 | LaunchConfig launchConfigFromObject(const QJsonObject &launchObj) |
| 112 | { |
no test coverage detected