MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / writeStringList

Function writeStringList

launcher/Json.cpp:111–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void writeStringList(QJsonObject& to, const QString& key, const QStringList& values)
112{
113 if (!values.isEmpty()) {
114 QJsonArray array;
115 for (auto value : values) {
116 array.append(value);
117 }
118 to.insert(key, array);
119 }
120}
121
122template <>
123QJsonValue toJson<QUrl>(const QUrl& url)

Callers 4

currentVersionsMethod · 0.85
latestVersionMethod · 0.85
latestVersionsMethod · 0.85
versionFileToJsonMethod · 0.85

Calls 3

appendMethod · 0.80
insertMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected