mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
fix
This commit is contained in:
parent
a8a3230798
commit
f2de6d1122
@ -107,7 +107,7 @@ JsonNode toJson(QVariant object)
|
||||
void JsonToFile(QString filename, QVariant object)
|
||||
{
|
||||
FileStream file(qstringToPath(filename), std::ios::out | std::ios_base::binary);
|
||||
file << toJson(object);
|
||||
file << toJson(object).toJson();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user