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

Reviewed-on: https://git.wownero.com/feather/feather/pulls/44
This commit is contained in:
dsc 2020-10-11 17:51:38 +00:00
commit a104a05cfa
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ bool Utils::readJsonFile(QIODevice &device, 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;
}