Merge pull request 'Windows: indent settings file' (#44) from tobtoht/feather:windows_settings_newlines into master

Reviewed-on: feather/feather#44
fix-rpath-debug
dsc 4 years ago
commit a104a05cfa

@ -98,7 +98,7 @@ bool Utils::readJsonFile(QIODevice &device, QSettings::SettingsMap &map) {
} }
bool Utils::writeJsonFile(QIODevice &device, const QSettings::SettingsMap &map) { bool Utils::writeJsonFile(QIODevice &device, const QSettings::SettingsMap &map) {
device.write(QJsonDocument(QJsonObject::fromVariantMap(map)).toJson()); device.write(QJsonDocument(QJsonObject::fromVariantMap(map)).toJson(QJsonDocument::Indented));
return true; return true;
} }

Loading…
Cancel
Save