| 195 | } |
| 196 | |
| 197 | void writeProfiles(const LauncherSettings::Profiles& value, QTextStream& stream) |
| 198 | { |
| 199 | writeSectionHeader(sProfilesSection, stream); |
| 200 | writeKeyValue(sCurrentProfileKey, value.mCurrentProfile, stream); |
| 201 | for (auto it = value.mValues.rbegin(); it != value.mValues.rend(); ++it) |
| 202 | { |
| 203 | writeKeyValues(it->first, sArchiveKey, it->second.mArchives, stream); |
| 204 | writeKeyValues(it->first, sDataKey, it->second.mData, stream); |
| 205 | writeKeyValues(it->first, sContentKey, it->second.mContent, stream); |
| 206 | } |
| 207 | } |
| 208 | |
| 209 | void writeGeneral(const LauncherSettings::General& value, QTextStream& stream) |
| 210 | { |
no test coverage detected