mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Finished conversion to new logging API
* removed logger streams * (float3|int3)::operator() -> (float3|int3)::toString(), it was too ugly and confusing.
This commit is contained in:
@@ -76,7 +76,7 @@ QVariant JsonFromFile(QString filename)
|
||||
|
||||
if (data.size() == 0)
|
||||
{
|
||||
logGlobal->errorStream() << "Failed to open file " << filename.toUtf8().data();
|
||||
logGlobal->error("Failed to open file %s", filename.toUtf8().data());
|
||||
return QVariant();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user