mirror of
https://git.wownero.com/wowlet/wowlet.git
synced 2024-08-15 01:03:14 +00:00
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:
commit
a104a05cfa
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue