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

Function writeString

launcher/Json.cpp:104–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void writeString(QJsonObject& to, const QString& key, const QString& value)
105{
106 if (!value.isEmpty()) {
107 to.insert(key, value);
108 }
109}
110
111void writeStringList(QJsonObject& to, const QString& key, const QStringList& values)
112{

Callers 5

currentVersionsMethod · 0.85
latestVersionsMethod · 0.85
SaveNowMethod · 0.85
versionFileToJsonMethod · 0.85

Calls 2

insertMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected