mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
Windows: indent settings file
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