Windows: indent settings file

This commit is contained in:
tobtoht 2020-10-11 18:52:01 +02:00
parent 12940361d8
commit 2ffd5f234b

View file

@ -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;
} }