mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02: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:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user